About this tool
Generate a cryptographically random color and copy it as HEX, RGB or HSL — generated locally in your browser with no network calls.
Each press of Generate draws three random bytes and uses them as the red, green and blue channels, so every combination of 256 levels per channel is equally likely. A new color is also generated when the page loads. There are no controls to limit hue, brightness or saturation, so results can be very dark, very light or dull.
The swatch is shown with three tiles. HEX is a lowercase six-digit code, RGB is written as rgb(r, g, b), and HSL gives the hue in whole degrees with saturation and lightness as whole percentages. Nothing is saved between presses, so copy a value before you generate the next color.