Color Palette Generator

Start from one colour and pick a colour scheme. You get a set of related colours to click and copy, and CSS variables ready to paste into a stylesheet.

Free, no sign-up. Everything runs in your browser.

Base colour and scheme

HEX, rgb() or hsl().

Pick a base colour.

How to

Build a palette in three steps

  1. Choose a base colour

    Pick one with the colour box or type its HEX, RGB or HSL value. This is the colour the rest of the palette is built around.

  2. Pick a scheme

    Each scheme moves around the colour wheel in a different way. Triadic and tetradic are bolder; analogous and monochrome are calmer.

  3. Copy what you need

    Click a swatch to copy its HEX code, or copy the CSS variables block to paste straight into your stylesheet.

Using a palette well

  • Use one colour for most of the page, a second for supporting areas, and the strongest colour sparingly for buttons and links.
  • Check text contrast on every background colour you use. A palette can look balanced and still fail accessibility.
  • Analogous palettes sit side by side on the wheel and feel harmonious. Complementary pairs create more tension, so use one as an accent.
  • Tints and shades keep the hue and change only the lightness, which makes them a safe way to build hover and background colours.

FAQ

Palette generator questions

What is a complementary colour?

The colour directly opposite on the colour wheel, 180 degrees away in hue. Paired with the base, it gives the strongest contrast.

What is the difference between triadic and tetradic?

A triadic scheme uses three colours evenly spaced 120 degrees apart. A tetradic (square) scheme uses four colours spaced 90 degrees apart, which is richer but harder to balance.

How are the colours calculated?

The base colour is converted to HSL, then the hue is rotated by fixed amounts and, for some schemes, the lightness is changed. Each result is converted back to HEX.

How do I use the CSS variables?

Paste the block into your stylesheet, then use the variables anywhere, for example color: var(–color-2). Rename them to suit your project.

Can I enter any colour format?

HEX with 3 or 6 digits, rgb() and hsl() are accepted. Colour names such as blue are not.

Is my colour sent anywhere?

No. The palette is built in your browser and nothing is sent to a server.