Random Color Generator
Secure random colours with HEX, RGB readouts and previews.GeneratorsRandom Color Generator
Fully random HEX colours with previews in HEX, RGB and HSL. Great for poking at palettes you would never pick by hand.
About this tool
Sometimes the fastest way out of a colour rut is pure randomness. Each draw is three cryptographically random bytes, shown as a swatch with its HEX and RGB values ready to copy.
How to use the Random Color Generator tool
- Choose how many. One to twenty colours per click.
- Generate. Every colour is three random bytes — the full sRGB space, no weighting.
- Copy a value. Each swatch has a copy button for its HEX code.
Supported formats
Input
- A count between 1 and 20
Output
- Random HEX colours with previews
- RGB equivalents
Inputs are validated before anything is processed. Invalid values and unsupported files are rejected with a clear error instead of failing silently.
Frequently asked questions
Are dark and light equally likely?
Yes — the full 0–255 range per channel, so most random colours are muddy mid-tones. Use the palette generator for curated harmony.
Can I lock a base hue?
No. For structured palettes use the Color Palette Generator instead.
Is HSL shown?
HEX and RGB are shown; HSL is available in the Color Converter.
Why crypto randomness for colours?
It costs the same as Math.random and avoids any seeded-pattern artefacts.
Privacy
Everything you enter stays in this browser tab. There is no upload endpoint for tool inputs, no account, and no server-side copy of your text or files. Results are produced locally and disappear when you close the page.
No account is required and no file is ever uploaded. See the privacy policy for details about analytics and the limited data this site stores.
Known limitations
- No harmony constraints; results span the whole sRGB cube.
- Up to twenty colours per click.
- No colour-space choices beyond sRGB.
Related tools
Other free tools from the same collection.