Generate random hex colours for your designs.
Generated locally in your browser.
How do you generate a random color?
Each color is a random 6-digit hex value ranging from #000000 to #FFFFFF, generated instantly so you can copy the codes for palettes, backgrounds or design inspiration. Generating five colors might give a mix of blues, greens and pinks. They make great starting points you can refine with shades or palette tools.
Understanding your result
Random colours are great starting points; refine them with the colour shades or palette tools.
Formula and method
Each colour is a random 6-digit hex value from #000000 to #FFFFFF.
Worked example
Generating five colours might give a mix of blues, greens and pinks.
How to use this tool
- Choose how many colours.
- Press Generate.
- Copy the hex codes.
Common mistakes to avoid
- Relying on pure randomness for accessible contrast — check contrast separately.
About the Random Color Generator
Generate a set of random hex colours for inspiration, placeholders or palettes. Press Generate again for a fresh set.
Who should use this tool
Designers and developers needing quick colour ideas.
Explore all Developer Tools tools
Frequently asked questions
What format are the colours?
6-digit hex codes. Copy grabs the whole set.
Can I get more at once?
Yes, up to 12 at a time with the slider.