Color Palette Generator

Start from one colour and get a 50 to 950 shade ramp for a design system, or colour harmonies such as complementary, analogous and triadic.

Processed on your device. Files are not uploaded

How to make a colour palette

  1. Enter a base colour

    Hex, RGB or HSL.

  2. Choose the palette

    A 50 to 950 shade ramp, or a harmony such as complementary, analogous, triadic or square.

  3. Name the variables

    Set the name used for CSS variables.

  4. Copy the colours

    As CSS variables, a plain list or JSON.

Worked example

This is what Color Palette Generator gives for its own sample values. Open the tool above and change anything to try your own.

Base colour

#0f766e
Palette
Shades and tints (50 to 950)
Name for CSS variables
brand
Output as
CSS variables

Palette

:root {
  --brand-50: #dcebea;
  --brand-100: #c5dedc;
  --brand-200: #98c4c1;
  --brand-300: #6aaaa5;
  --brand-400: #3d908a;
  --brand-500: #0f766e;
  --brand-600: #0c625b;
  --brand-700: #0a4e49;
  --brand-800: #073a36;
  --brand-900: #052623;
  --brand-950: #041c1a;
}

About Color Palette Generator

Start from one colour and get a full shade ramp for a design system, or a harmony such as complementary, analogous, triadic or square. The ramp mixes toward white for the light steps and toward black for the dark ones.

FAQs

Is the ramp ready to ship?

It is a good start. Check text contrast on each step, and adjust steps by eye, since mixing does not always look even.

What is a complementary colour?

The colour opposite on the colour wheel, which gives the strongest contrast.

How do I check contrast?

Use Color Contrast Checker.

Related tools