Color palette generator

Press Generate (or the space bar) for a new palette. Lock the colors you want to keep and copy the CSS variables.

Harmony modes

ModeHow it is builtFeel
AnalogousHues 22° apartCalm, cohesive
MonochromeOne hue, lightness 18%–86%Clean, minimal
TriadicThree hues 120° apartBalanced, lively
ComplementaryTwo opposite hues plus a light neutralHigh contrast
RandomIndependent random hues within readable rangesExploratory

Using a 5-color palette

A common split is the 60-30-10 rule: one dominant neutral (60%), a secondary color (30%) and an accent (10%) for buttons and links. Check text pairs with the contrast checker.

Starting palettes

Frequently asked questions

Can I share a palette?
Yes. The URL updates with the five hex codes, so copying the address shares the exact palette.
How do I keep a color?
Tick its lock box. Locked colors stay when you generate again, and harmony modes build around the first locked color.