randomColor icon indicating copy to clipboard operation
randomColor copied to clipboard

A tiny script for generating attractive colors

Results 25 randomColor issues
Sort by recently updated
recently updated
newest added

If I set count = 5, and generate the colours twice with same seed, they give a different list of colours!

bug

Right now I'm using ```javascript let colors = randomColor({ seed: 0, // Just a fixed seed so that generated colors are deterministic. count: count, luminosity: "bright", }); ``` With `count...

Even in the latest release which is supposed to return very different colors, I get similar ones: ![testimage](https://user-images.githubusercontent.com/217543/73208168-41762780-4146-11ea-90b1-ac2f0e7c1802.png)

enhancement

Do this before new release (which will be breaking)

help wanted

Extend the functionality to generate `N` (distinct) colors with a list of `excludes` that must not appear among the generated set. A typical example would be "background color" and "text...

enhancement

For example, I would like to exclude all shades of gray. Is there any way to hack this?

enhancement

When I set the seed to a certain value, then I'm getting either blue-ish or green-ish or orange-ish colors, but never a combination of red/blue/yellow/green.

enhancement

Being able to specify linear transitions such as _Luminosity: dark to light_ or _Hue: red to blue_ would be a welcomed addition!

enhancement