randomColor
randomColor copied to clipboard
A tiny script for generating attractive colors
I added support for multiple hues. that is related to #112.
**Update:** I have run several tests. Setting count is the cause of this bug. I used this shell function for testing: ```sh random-color-f () { node -e "var randomColor =...
Requesting a capability to provide multiple `luminosity` values, e. g.: ```js randomColor({ luminosity: ['dark', 'bright'] }); ```
Hello! Created a d.ts for consumption in typescript projects. options and returns are based on documentation. I've also had a look at source code but couldn't analyze the code fully...
I'm seeing that this code breaks the generation or `randomColor`, but I find this esoterical so it's likely something else ```js console.log(randomColor({ count: 5, luminosity: 'light', hue: '#c411a6', })) ```...
The bug was originated from the current HexToHSB function returning `undefined` when passed particular hex values as argument.
[#68](https://github.com/davidmerfield/randomColor/issues/68#issue-159862478)
randomColor({hue: 'random',luminosity: 'random',count: 54}); More of a pet peeve than an severe issue: On the demo page, you have the above code for _Truly Random_ colors, but it produces dark...
@davidmerfield -- How are you defining "Bright" colors for RandomColor? I am attempting to write a numerical test for "bright" colors, and am wondering how it is defined in generation....
Fixes issue #132.