Palettes & Harmony
Random Color Generator
Press Generate or the Space bar to get one to ten random colors. Lock the ones you like, filter by style, and copy or export the results.
Press Space (or the button) for new colors. Lock a color to keep it while the rest change.
Export these colors
History
Your colors and images stay in your browser. Nothing is uploaded or stored on our servers.
How to use the Random Color Generator
- Choose how many colors you want, from 1 to 10.
- Optionally pick a style: warm, cool, pastel, vibrant, dark or light.
- Press Generate, or tap the Space bar, to roll a new set.
- Lock any color to keep it while the rest change, then copy or export your favorites.
Examples
Finding a palette
Set 5 colors and the Pastel style, press Space a few times, lock the two you like and keep generating around them.
A background and its partner
Generate with the Dark style until a background candidate appears and lock it. Then switch to Light and keep generating until another color pairs well with it.
Stress-testing a layout
Random colors are a quick way to test a design or chart. If it still reads well with unexpected colors, it is robust.
Tips
- Press Space instead of clicking: it is much faster when you are hunting for something specific.
- Export the colors as CSS variables to drop a favorite set straight into a project.
Questions about the Random Color Generator
Is the generator truly random?
It uses your browser's random number generator, which is fine for design work but not designed for security.
How do the style filters work?
Each style limits the hue, saturation and lightness ranges, and then checks the result's classification. For example warm needs a warm hue, and pastel needs a light, soft color.
Why do some random colors look muddy?
Fully random colors often land at middle lightness with low saturation. The generator keeps saturation reasonably high, but muddy colors still appear. Just press Space again.
Does it remember my colors?
Only during your visit. A short history appears under the colors, and nothing is stored on a server.
Related tools
Color Palette Generator
Generate harmonious palettes and export them as CSS, JSON, SVG or PNG.
Color Picker
Pick any color and copy its HEX, RGB, HSL and CMYK values.
Gradient Generator
Build linear and radial CSS gradients with multiple color stops.
Color Mixer
Mix two colors in any proportion and see the in-between steps.