Random Color Generator
Generate a random color in HEX, RGB, HSL, and CMYK, one click at a time.
Useful for placeholder UI states, quick mockup accents, or just breaking designer's block when you're staring at the same three brand colors — this uses the Web Crypto API's random number generator rather than Math.random(), so the distribution across all 16.7 million possible colors is genuinely uniform.
Example: Clicking Generate repeatedly might land on #a3e635 (a lime green), then #7c3aed (a violet) — each pull is independent, so there's no pattern to game if you're using it to pick an unbiased accent color.
How it works
- Click Generate
- A cryptographically random color is picked on your device
- Copy whichever format you need, or generate another
Frequently asked questions
How random is the Random Color Generator?
It uses the Web Crypto API's crypto.getRandomValues() rather than Math.random() — a cryptographically strong random source, so every one of the 16.7 million possible colors is equally likely on each click.
Can I restrict the random color to a specific range or palette?
Not currently — this generates a fully random color from the entire RGB space. For a random pick constrained to a specific hue or mood, generate a base color here and run it through the Palette Generator's harmonies instead.
Is my color values uploaded anywhere?
No — Random Color Generator runs entirely in your browser using JavaScript/WebAssembly. Your color values is never sent to a server.