New to random color? Learn how to read the output
Random color.
Find your next color. Generate a random hexadecimal value.
LOCAL UTILITYReady when you are.
Your result will appear here.
What this tool does
Press the button and this tool draws three random bytes, one for each of the red, green and blue channels, and shows them as a colour you can use. The same colour is written in the format you choose: HEX for web styles, RGB for image editors, HSL for design work. It runs entirely in your browser using the secure random generator, so each run produces a fresh colour and nothing is sent anywhere. It is a starting point for a palette, not a finished scheme.
How to use it
- Pick the output format: HEX for stylesheets, RGB for image editors, HSL for design tools.
- Press Generate color. The swatch and the three values always describe the same colour.
- Copy the value in your chosen format, or copy the HEX one and convert it later.
- Press the button again whenever you want a different colour, and keep the ones you like.
- Build a palette from the colours you keep, then check contrast before using them on text.
- For a fixed brand colour, edit the value in your design file instead of generating a new one.
Reading the result
- HEX is the value as a hash followed by six digits, where each pair encodes one colour channel.
- RGB lists the three channel numbers from 0 to 255, so a higher number means more of that channel.
- HSL gives the hue as an angle, with saturation and lightness as percentages of the maximum.
- The swatch paints the HEX value so you can see the colour, although screens differ slightly.
- All three formats describe one colour, so copying a different format never changes the result.
What it cannot tell you
- There is no contrast or accessibility check, so a generated colour can be unreadable as text.
- The HSL values are rounded, so converting them back to RGB can differ slightly from the original.
- Each colour is random and unseeded, so there is no way to reproduce a colour you liked later.
- A single colour is not a palette, and nothing here guarantees the shades work together.
What to do next
Copy the value in the format your tool expects, paste it into the design file, and check it in the place it will be used, since the same value can look different on another display. If you plan to put text on it, check the contrast ratio against the background and keep the pairing above 4.5 to 1 for normal text. Generate a few more colours and treat them as candidates for a small palette rather than a finished design.
Read the full random color guide