HEX Color Generator
Generate random six-digit HEX colours locally with previews and RGB/HSL equivalents.
Generate random HEX colours and inspect matching RGB and HSL values.
Generate random sRGB colours as HEX values, with matching RGB and HSL values in the result table. Use the preview to judge the palette; random colours are not automatically a coordinated or accessible theme.
Example: A quantity of 5 produces five colours. The specific values change on a new run, and a repeated colour is possible.
How it works: Each sample independently chooses red, green and blue integers from 0 through 255. HEX and HSL are calculated from that same RGB sample; displayed HSL components are rounded.
Choose colours as starting points for a palette; the generator does not enforce contrast or visual harmony. The comparison table shows HEX, RGB and rounded HSL for the same sample.
RGB 255, 0, 0 corresponds to #ff0000 and HSL 0°, 100%, 50%. Reformatting the sample does not produce a different colour.
Guidance updated . Methods and corrections
Your calculation values and selected files are not stored. Recent and saved tools keep tool identifiers; your market preference keeps only its country code in this browser.
Use the grouped tool selector above the form. Each tool has its own URL, and your browser’s Back button returns to the previous tool.