How to use the color palette generator
- Press Generate palette or the space bar.
- Click a padlock to keep a color you like, then generate again to change the rest.
- Choose a Style for a particular mood.
- Click a HEX code to copy it, or copy the whole palette as CSS variables.
The color theory behind the styles
| Style | How it is built | Feels |
|---|---|---|
| Monochrome | One hue in five levels of lightness | Calm, minimal, elegant |
| Analogous | Neighboring hues on the color wheel | Harmonious and natural |
| Complementary | Two opposite hues plus a neutral | Energetic, high contrast |
| Triadic | Three hues evenly spaced around the wheel | Playful and balanced |
| Pastel | Any hues with high lightness | Soft and friendly |
| Vivid | Fully saturated hues | Bold and youthful |
| Earth tones | Browns, tans and muted oranges | Warm and organic |
Using a palette well: the 60-30-10 rule
Five colors do not get equal space. A reliable recipe from interior design:
- 60% a dominant neutral, usually the lightest or darkest color, for backgrounds
- 30% a secondary color for panels, headers and cards
- 10% an accent, the most vivid color, for buttons and highlights
Keep the remaining colors for small details, charts or hover states.
Before you commit
- Check that text is readable on each background with the contrast checker.
- Look at the palette in grayscale. If two colors look identical, they will be hard to tell apart for color-blind users.
- Explore tints and shades of any color with the color converter.