Random Color Generator
Generate a random color with its HEX, RGB and HSL values — great for inspiration and testing.
Generate a random colour instantly, complete with its HEX, RGB and HSL values. It is handy for breaking creative block, finding an unexpected accent colour, generating test data, or simply exploring. Click again for a new colour as many times as you like — each is produced with your browser's cryptographic random generator, so nothing is uploaded.
Found one you like? Feed it into a palette generator to build a matching scheme, or a contrast checker to confirm text will be readable on it.
Frequently asked questions
How does the random color generator work?
It picks random red, green and blue values in your browser and shows the resulting colour with its HEX, RGB and HSL codes.
Can I get a specific type of colour?
This tool produces fully random colours. For a coordinated scheme, start from one colour you like and use a palette generator.
What are HEX, RGB and HSL?
Three ways to write the same colour: HEX (#7c5cff) is web shorthand, RGB is how screens mix light, and HSL is the easiest for humans to adjust.
Is it truly random?
It uses the browser's cryptographic random source, so results are effectively unpredictable and different every click.