Generate a random lch color.
npm install --save random-lch-color
var randomLCHColor = require('random-lch-color')
randomLCHColor() // => 'lch(50% 100 100)'
randomLCHColor() // => 'lch(82% 120 204)'
or
import randomLCHColor from 'random-lch-color'
randomLCHColor() // => 'lch(75% 60 0)'
randomLCHColor() // => 'lch(49% 132 290)'
Inspired by random-hex-color by John Otander which is repackaged from a post by Paul Irish.
MIT
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Crafted for generative doings by Adam Morse (@mrmrs_).