Home / Design tools / Random palette

Random Color Palette Generator

Press Generate, or the space bar, to get a new palette. Lock the colors you like, choose a harmony rule, and export the result.

or press the space bar

Export

How to make a palette

Press Generate, or tap the space bar, to get a set of colors. When one of them is right, press its Lock button, and the next palette keeps it and builds the other colors around it. Click a color to copy its hex code.

Harmony rules

Colors look good together when their hues have a clear relationship on the color wheel. The Harmony box sets the rule:

RuleWhat it does
AnalogousColors that sit next to each other on the wheel. Calm and natural.
ComplementaryTwo hues opposite each other, 180 degrees apart. Strong contrast.
TriadicThree hues spaced evenly, 120 degrees apart. Lively and balanced.
TetradicFour hues, 90 degrees apart. Rich, but harder to balance.
Split complementaryA hue and the two hues on either side of its opposite. Contrast that is softer than a plain complement.
MonochromaticOne hue in steps from dark to light. Safe and elegant.
RandomNo rule. Each color is chosen freely.

Locking colors

When you lock a color, the harmony is built from the hue of the first locked color, and only the unlocked colors change. This lets you start from a brand color and look for partners to go with it.

Export

The export box shows the palette as a list of hex codes, as CSS custom properties that you can paste into a stylesheet, or as a JSON array. Copy it with the button below it.

Using a palette well

  • A common guide is the 60-30-10 rule: about 60 percent of the design in a main color, 30 percent in a second color and 10 percent in an accent.
  • Check text contrast. A color that looks good as a background may not leave enough contrast for text.
  • Do not use color alone to carry meaning, because some people cannot tell certain colors apart.

For one color with all its codes, see the random color generator, and for lists of codes, the random hex color generator and the random RGB color generator.

Frequently asked questions

How do I generate a color palette?

Press Generate or the space bar. Choose a harmony rule to control how the colors relate, and the number of colors from 3 to 8.

How do I keep a color I like?

Press its Lock button. Locked colors stay when you generate again, and the others are built around them.

What is a complementary color scheme?

Two hues that are opposite on the color wheel. They give the strongest contrast.

Can I export the palette?

Yes. Copy it as hex codes, CSS variables or a JSON array.