Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
laike9m opened this issue Aug 9, 2020 · 1 comment
Open

Comments

@laike9m
Copy link

laike9m commented Aug 9, 2020

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
Copy link
Author

laike9m commented Aug 9, 2020

Might be related to #131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant