randomColor icon indicating copy to clipboard operation
randomColor copied to clipboard

Capability to provide multiple luminosity values

Open Deilan opened this issue 7 years ago • 5 comments

Requesting a capability to provide multiple luminosity values, e. g.:

randomColor({
   luminosity: ['dark', 'bright']
});

Deilan avatar Jun 29 '18 07:06 Deilan

Capability to provide multiple hue values would be great as well.

Deilan avatar Jun 29 '18 07:06 Deilan

Hello @Deilan, some of the luminosity values conflict, e.g. 'bright' and 'light' don't have overlapping S-value ranges

I'm more sympathetic to the idea of multiple hue values. This seems like it might be useful. Leaving this open for now

davidmerfield avatar Feb 13 '19 16:02 davidmerfield

I will fix this issue and create some enhancements

AlirezaEiji191379 avatar Dec 24 '21 07:12 AlirezaEiji191379

in the above link I have pull request for supporting multiple hues!

AlirezaEiji191379 avatar Dec 24 '21 09:12 AlirezaEiji191379

https://github.com/davidmerfield/randomColor/pull/147

AlirezaEiji191379 avatar Dec 24 '21 09:12 AlirezaEiji191379