Random Colour Generator
Need a fresh idea? Press one button for a surprise colour, shown alongside its HEX, RGB and HSL codes and an estimated CMYK breakdown.
Random Colour
HEX: #4A7C59
RGB: rgb(74, 124, 89)
HSL: hsl(138, 25%, 39%)
Approx. CMYK: C 40%, M 0%, Y 28%, K 51%
Using the Generator
Press Generate Random Colour and a new shade appears straight away, together with its HEX, RGB, HSL and estimated CMYK figures. There is no limit, so keep pressing for as many new colours as you want, and tap a Copy button whenever a value is worth saving.
What Happens with Each Click
The tool draws three random numbers from 0 to 255, one each for red, green and blue, and joins them into a HEX code. That code is then translated into RGB, HSL and a rough CMYK equivalent so you have every format to hand. Because the numbers are drawn evenly, any colour in the full RGB space is just as likely to turn up as any other.
Letting Chance Shape Your Art
When you keep reaching for the same favourite colours, a random pick can shake things up, suggest a palette you would never have planned, or give you a fun challenge: build a whole piece around one unexpected shade. I sometimes use it to choose the accent colour for a small geometric study, then work out the rest of the palette around it. It also makes a quick warm-up. Generate a colour and see how many different moods or subjects you can create from it.
Common Questions
How are the random colours chosen?
On every click the tool picks three random numbers from 0 to 255 for red, green and blue, turns them into a HEX code, and then displays the matching RGB, HSL and estimated CMYK values.
Does each colour have the same chance of coming up?
It does. All of the more than 16 million combinations in the RGB colour space are equally likely.
Could the same colour appear more than once?
In theory yes, but with upwards of 16 million options the odds of a repeat are very small.
How do I copy a colour code?
Press Copy HEX, Copy RGB or Copy HSL and that value is placed on your clipboard.
Are my generated colours kept anywhere?
No. Each colour is created on the spot in your browser, and nothing is stored or passed to a server.
Is it useful for planning paint mixes?
It can inspire one, but the values are digital HSL and CMYK estimates. Paint and pigment behave differently from light, so mix and test a real swatch before it goes into finished work.
Why is CMYK only an estimate?
True CMYK output changes with the inks, the printer and the paper. The figure shown is calculated mathematically from the RGB value, so it is a helpful guide rather than a guaranteed print result.
What are random colours good for?
They help you step away from habitual colour choices, prompt new palette ideas, and give you a playful limitation to work within.
Does the generator cost anything?
No. It is free, and there is nothing to register for or install.
More Colour Tools to Try
Random Colour Palette Generator
Get five random colours at once and lock in your favourites.
Pastel Colour Generator
Create gentle palettes of light pastel shades.
Colour Picker
Choose a colour by eye and see its HEX, RGB, HSL and estimated CMYK codes.
Artist Colour Palette Generator
Grow a matching set of colours from one starting shade.
Found a Colour You Love?
Bring it into a real project with a Creative Flair by Sana painting kit, featuring a carefully matched colour range and clear guidance written with beginners in mind.
Browse the KitsAll colours here are digital and offered as a planning and learning aid. The appearance of a colour can vary with your screen, printer, paint brand, pigments, paper and lighting, so test any colour that matters before using it in a finished piece or print.
