Using the generator
Set the number
Enter anything from 1 to 24 in How many colours. Six is a comfortable number to compare side by side.
Generate and keep
Press Generate colours. Under each swatch, tick Keep to lock it before the next press.
Copy what you need
Click a single swatch to copy its HEX code, or use Copy all to put every code on the clipboard, one per line, ready to paste into a spreadsheet or a style sheet.
Practical uses away from the art desk
Random colours are handy whenever you need a set of values that are clearly different from each other and you do not want to spend time choosing them. A few examples from everyday sales and agency work:
- Colour-coding territories or sales reps on a shared map or a spreadsheet of prospects.
- Giving each pipeline stage in a CRM board its own label colour.
- Placeholder blocks in a website mock-up, so a client looks at layout rather than branding.
- A starting point when a new client has no brand colours and needs something to react to.
Example: six colours for six sales areas
A small team splits its prospect list into six areas and wants a distinct fill colour for each in a spreadsheet. After two presses, three swatches look right and are ticked Keep. A third press replaces the other three. Copy all gives six HEX codes that paste straight into the sheet's colour settings.
Each swatch also carries the closest CSS colour name, such as darkorange for #FF8C00, which is an easier label to say aloud in a meeting than a code.
How many colours: 6 Keep ticked on swatches 1, 3 and 4
Swatches 1, 3 and 4 unchanged Swatches 2, 5 and 6 replaced Copy all: six HEX codes, one per line
Questions people ask
Are the colours truly random?
Each colour takes three random values for red, green and blue, from 0 to 255, drawn from your browser's cryptographic random number generator. Every one of the 16.7 million possible HEX colours is equally likely, so there is no hidden bias towards bright or pastel shades.
Why do some random colours clash?
Because nothing is coordinated: the generator does not pick related hues. For a set that works together, use the colour palette generator, which builds harmonies from one starting colour. If text will sit on a random colour, run the pair through the contrast checker before using it.
What does the colour name on each swatch mean?
It is the nearest of the named CSS colours, such as teal or salmon, measured by distance in colour space. Grey and gray duplicates are skipped. The name is a rough guide only; the HEX code underneath is the exact value.
Where your data goes
Colours are generated by script in this tab and copied to your clipboard only when you click. No colours, choices or codes reach any server.
Checked against the tool on