Color Palette Generator
Pick one colour and get a complementary, analogous, triadic, tetradic, split complementary or monochrome palette, with CSS variables.
Color Palette Generator takes one colour and builds a matching scheme from colour wheel rules: complementary, analogous, triadic, tetradic, square, split complementary or monochrome. Copy any swatch, or copy the whole palette as CSS custom properties. It runs in your browser.
What is a colour harmony?
Colour harmony
A rule for picking colours that sit at fixed angles on the colour wheel. Complementary colours are opposite (180 degrees apart), triadic ones are a third of the wheel apart, and analogous ones are close neighbours.
How this tool builds it
It turns the hue of your colour around the HSL wheel and keeps its saturation and lightness. Monochrome keeps the hue and changes only lightness, giving five steps from darker to lighter.
Why use Color Palette Generator?
- Start from your brand colour. Get colours that sit well with the one you already have instead of guessing.
- Compare schemes quickly. Switch the harmony and the swatches change at once, so you can see which feels right.
- Paste straight into CSS. Copy as CSS gives a :root block of variables with your chosen prefix and a comment naming each role.
How to use Color Palette Generator, step by step

- Pick a base colour in Color Palette Generator. Use the colour picker or type a hex code.
- Choose a harmony. Complementary, analogous, triadic, tetradic, square, split complementary or monochrome.
- Copy the colours. Click a swatch to copy its hex code, or press Copy as CSS for the whole set as variables.
Frequently asked questions
Which colour wheel does it use?
The HSL wheel used on screens, where red, green and blue are 120 degrees apart. Painters often use a red, yellow and blue wheel, which gives slightly different complements.
Will every colour have good contrast?
Not necessarily. Harmonies keep lightness the same, so check text and background pairs with the Contrast Checker.
Can I get lighter and darker versions?
Yes. Pick Monochrome here for five quick steps, or use the Color Shades Generator for a full 50 to 950 scale.
Looking for the long version? The guides cover each of these jobs in depth.