Random Color Generator
Generate a random color with one click — instantly shown as a swatch along with its HEX, RGB, and HSL values, ready to copy.
Sometimes the need is genuinely just a random color, not a carefully chosen one — a placeholder for a design mockup, a quick default for testing how a UI element looks across different color values, or inspiration when you’re stuck deciding on a palette and want a starting point to react to rather than staring at a blank picker.
Click generate, and a new random color appears immediately with its value shown in HEX, RGB, and HSL simultaneously. Lock in constraints if you want randomness within a range rather than fully arbitrary — restrict to pastel tones, dark shades, or a specific hue range, for example, rather than the full unrestricted color space. Generate a batch of several random colors at once to compare a few options side by side, or to build a quick random palette.
Frequently asked questions
Is there a way to get random colors that still look good together, rather than completely arbitrary?
The pastel and constrained-hue-range options help bias toward more visually cohesive results, though for a deliberately designed, harmonious palette rather than random generation, a dedicated color theory tool (built around complementary, analogous, or triadic color relationships) is a better fit than randomness by design.
Can I exclude very light or very dark colors from the random results?
Yes, a lightness range constraint lets you set minimum and maximum bounds, filtering out colors that would be too close to white or black for whatever you’re using them for.
Once I get a color I like, can I convert it to other formats or fine-tune it?
Yes, copy the generated color’s value into the Color format converter for broader format conversion, or the OKLCH Color Picker & Converter if you want to fine-tune it further in a perceptually uniform color space.
Does clicking generate again lose the previous color, or can I go back?
The current session keeps a short history of recently generated colors so you can step back to a previous one if you generate past a color you liked, rather than it being lost immediately.