๐ŸŽจ Random Color Generator

Generate random hex colour codes with live previews. Perfect for design inspiration.

About this generator

Colour is one of the quickest ways to set a mood, but starting a palette from nothing can be daunting. This random colour generator picks a colour at random and shows it as a large swatch alongside its hex code, such as #6C5CE7. Click copy to put the code on your clipboard and paste it straight into your CSS, Figma, Photoshop or any other design tool.

There are more than 16 million possible colours in the standard web colour system, and each one has an equal chance of appearing. Some results will be beautiful, some strange and some almost unusable, which is the point: random colours can break you out of habitual choices and lead to surprising combinations.

Designers can use it for inspiration, developers for placeholder colours and teachers for activities about colour and hex codes. Try generating a few colours and picking two or three that work together, then adjust brightness and saturation in your design tool. Always check text contrast against the background to make sure your final design is readable.

FAQ

What format are the colours in?

Hex codes like #6C5CE7, which work in CSS, Figma, Photoshop and most other design tools.

How many colours are possible?

More than 16 million, covering every combination of red, green and blue values from 0 to 255.

Can I use the colours commercially?

Yes. Colours aren't owned. Just check text contrast and accessibility in your design.

How can I build a palette from random colours?

Generate several colours, choose two or three you like and adjust their brightness and saturation so they work together.

More generators

Popular generators

Browse all generators