Random Color Generator

Choose how many colours you want, a style and a hue, and click the button. You get a list of colours with swatches to copy.

Use the tool

Loading the tool…

About Random Color Generator

Make random colours. Choose how many, the style, and how to write them, such as hex (#rrggbb). You can avoid repeats.

Worked example

Ask for 5 colours in hex with no repeats. The tool gives five different colours.

Limits

Random colours may not work well together. Check the contrast and the look before you use them in a design.

How to use Random Color Generator

  1. Enter how many colours you want.
  2. Choose a style and a hue.
  3. Choose hex, rgb or hsl.
  4. Click "Make colours" and copy the list.

Good to know

  • Colours come from your browser's secure random source.
  • Styles pick saturation and lightness from fixed ranges, for example pastel uses 55 to 90% saturation and 78 to 90% lightness.
  • "No repeats" makes every colour in the list different.
  • Random colours are not checked for contrast. Check text colours with the contrast checker.

Frequently asked questions

How can I get matching pastel colours?

Choose the Pastel style. Setting a hue such as blue keeps the set in one colour family.

Is it truly random?

Yes. It uses the secure random generator built into your browser, with no bias between values.

Can I get the same colours again?

No. Each click makes a new set. Copy the list if you want to keep it.