Generators tool

Random Color Generator

Random colours in HEX, RGB or HSL. Click to copy.

Free Runs in your browser

About this tool

Random Color Generator shows a grid of random colours with their codes. Pick a style to keep the results pastel, bright or dark, and click a swatch to preview it large and copy its code in the format you need.

How to use Random Color Generator

  1. Choose how many colours and a style.
  2. Pick HEX, RGB or HSL as the copy format.
  3. Click a swatch to copy its code.

Questions people ask

How many colours can a HEX code describe?

A 6-digit HEX code has 16,777,216 possible values (256 × 256 × 256). The Any colour style picks evenly from all of them.

What makes a colour pastel?

Pastels have high lightness (about 78–88% in HSL) and medium saturation, which gives soft, light tones.

What is the difference between RGB and HSL?

RGB mixes red, green and blue light from 0 to 255. HSL describes hue (0–360°), saturation and lightness, which is easier for adjusting a colour by hand.

More generators tools

See all 14 →
Esc