Skip to content

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

@laike9m

Description

@laike9m

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions