randomColor icon indicating copy to clipboard operation
randomColor copied to clipboard

Is there a way to control the "distribution" of generated colors?

Open laike9m opened this issue 4 years ago • 1 comments

Right now I'm using

let colors = randomColor({
    seed: 0, // Just a fixed seed so that generated colors are deterministic.
    count: count,
    luminosity: "bright",
});

With count = 2, the colors I get is somewhat similiar to each other (blue-green ish).

image

I would like to get colors that are very different visually. What those colors are does not really matter.

Currently I can't find a way to control this behavii. Or is there some magic seeds that can work better?

laike9m avatar Aug 09 '20 06:08 laike9m

Might be related to https://github.com/davidmerfield/randomColor/issues/131

laike9m avatar Aug 09 '20 06:08 laike9m