Random color generator
One click, fresh colors. Go fully random across all 16.7 million sRGB colors, or keep results pastel, vivid, dark or light.
Like a few of these? Open the first five in the palette generator.
Truly random vs. random-but-usable
A 24-bit color has 256 levels each of red, green and blue: 16,777,216 possibilities. Picking uniformly among them produces a lot of murky mid-tones, because far more RGB combinations are dull than vivid. The constrained modes pick a random hue but fix lightness and chroma inside a band in OKLCH, so every result is guaranteed to feel pastel, vivid, dark or light.
Frequently asked questions
How are the random colors generated?
In “Any” mode each color is a uniformly random 24-bit sRGB value (one of 16,777,216). The other modes pick a random hue and constrain lightness and chroma in OKLCH so results are, for example, always light pastels or always dark.
Can I generate several random colors at once?
Yes, choose how many (1–24) and press Generate. Click any color to copy its hex.
What is a random color useful for?
Placeholder avatars, test data, chart series, creative prompts and breaking out of a color rut. For colors that work together, use the palette generator instead, which applies harmony rules.