ok.OK UtilityA LITTLE EVERYDAY MAGIC

Random Color Generator

Generate random HEX colours and inspect matching RGB and HSL values.

Make it your own

How to use Random Color Generator

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.

  1. Set Number of colours, from 1 to 100.
  2. Select Generate to sample colours and build the preview swatches.
  3. Copy or download the values and inspect the HEX, RGB and HSL comparison table.

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.

Understanding the result

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.

A calculation you can check

RGB 255, 0, 0 corresponds to #ff0000 and HSL 0°, 100%, 50%. Reformatting the sample does not produce a different colour.

What to check before using the answer

  • Random colours can repeat, fail accessibility contrast or print differently. Check the actual foreground/background pair and target medium.

Guidance updated . Methods and corrections

Are my inputs saved?

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.

Can I switch to a related tool?

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.

Search the complete directory ESC to close
Your everyday toolkit