Random Color Generator
Generate a five-color palette. Lock the colors you like, reshuffle the rest, and copy HEX codes in one click.
How to use it
- 1 Press Generate or hit the space bar for a new palette.
- 2 Lock colors you want to keep. Locked colors stay when you reshuffle.
- 3 Click a color to copy its HEX code, or copy the whole palette.
Random colors you can actually use
The generator picks colors in the HSL color space and keeps saturation and lightness in a range that looks good on screens, so you get fewer muddy browns and neon blasts than from a fully random pick. Each color shows its HEX and RGB code.
Lock any color to keep it while you reshuffle the others. That is the fastest way to build a palette around a color you already like.
For designers, artists and developers
Designers use random colors to break out of the same three favourites. Artists use them as a challenge prompt: paint with exactly these five. Developers use them for chart series, avatars and test data. Teachers use them for art class warm-ups.
The text on each swatch switches between dark and light so you can read the code on any color.
Accessibility and contrast
A random palette does not guarantee readable text or good contrast. If you use these colors for text on backgrounds, check the contrast ratio, aiming for at least 4.5 to 1 for normal text under WCAG guidelines.
The tool runs entirely in your browser and does not store your palettes.
Color Generator FAQ
How does the random color generator work?
Can I lock a color?
How do I copy a color code?
Is there a keyboard shortcut?
Are the palettes accessible?
Are my palettes saved?
More pickers you might like
Browse all movies, food and fun generators or see every picker.