Random Color Generator
Generate truly random colours with channel locking and a 5-colour history — copy the hex code with one click.
More Color Tools Tools
RGB:
HSL:
Channel locks
How to Use Random Color Generator
Click the Generate button to produce a random colour using cryptographically strong randomness. The colour is displayed as a large swatch, with its HEX, RGB, and HSL values shown underneath. Toggle any of the R, G, or B channel locks to freeze that channel — clicking Generate again randomises only the unlocked channels. The last 5 generated colours are saved as a clickable history row; clicking any history swatch restores that colour and reloads its values.
About Random Color Generator
Details & Tips
Frequently Asked Questions
How does the random colour generator work?
What is channel locking?
Why would I lock a channel?
How does the colour history work?
Is the randomness truly unpredictable?
Why not use Math.random()?
How do I copy the generated colour?
Can I see the colour in HSL format?
What is the range of each channel's random value?
Is the colour swatch text readable on any generated colour?
Is my data sent to a server?
Can I save more than 5 colours in history?
Part of These Collections
Also Available As
random color generator, random colour picker, random hex color, color generator, random rgb, crypto random color, lock channel color, color randomizer
Explore More Tools
View all toolsFound a Problem?
Let us know if something with Random Color Generator isn't working as expected.
Thanks — we'll take a look.