Tools / Random color generator
Random color generator
Stuck for inspiration? Generate colors until one clicks, then grab the code.
How to use it
Three quick steps.
- Choose a style, or leave it on Any.
- Press the spacebar or Generate for a new color.
- Click a color in the history to bring it back.
Good to know
Get better results.
- Pastel and light are good for backgrounds. Vivid and dark suit buttons and text.
- Open the full color page to see shades and matching colors.
- The history keeps your last 14 colors until you leave the page.
Common questions
Are the colors truly random?
Yes, within the style you choose. Pastel, vivid, dark and light each use a limited range of saturation and lightness.
Can I use these colors for a brand?
Sure. Check contrast first and make sure the color is distinct from competitors.
More tools
Keep going with a related tool.
OKLCH converterConvert to OKLCH and OKLab for modern CSSAccessible color finderFix a failing text and background pairMood palette generatorPalettes for calm, bold, luxury and moreColor name finderFind the name of any colorPalette exportDownload Adobe ASE, GIMP, JSON and CSS filesPalette generatorGenerate, save and export five-color palettes