randomColor – a color generator for JavaScript

randomColor – a color generator for JavaScript

randomColor

randomColor generates attractive colors by default. More specifically, randomColor produces bright colors with a reasonably high saturation. This makes randomColor particularly useful for data visualizations and generative art.

randomColor - similar

You can also pass an options object to randomColor. This allows you to specify the hue, luminosity and the number of colors to generate.