CompleteSEOTools
Home › Image & Design Tools › Color Palette Generator

Color palette generator

Start from one colour and get matching colours, a shade scale, a contrast check and a palette from any picture.

About Color Palette Generator

Pick a base colour and the tool shows complementary, analogous, triadic, split-complementary, square and single-colour sets, all worked out by turning the hue in HSL. The Shades tab makes a scale from 50 to 950 with your colour at 500. The contrast tab compares a text colour and a background using the WCAG formula and says which levels pass. The picture tab finds the main colours in an image with a k-means search. Everything stays in your browser.

  • Choosing a set of colours for a logo, a site or a slide deck.
  • Making light and dark steps for buttons and backgrounds.
  • Checking that body text is readable on its background.
  • Pulling the main colours out of a brand photo or a product picture.

How to use Color Palette Generator

1

Step 1

Pick a colour with the picker or type its hex code.

2

Step 2

Open a tab: harmonies, shades, contrast or picture.

3

Step 3

Click a swatch to copy its hex code, or copy the whole set as CSS.

Good to know

  • The shade scale is made by mixing with white and black. It is an approximation of the usual 50 to 950 scales, not any framework's own palette.
  • Contrast ratios of 4.5 to 1 for normal text and 3 to 1 for large text are the WCAG AA minimums. Ratios guide you but do not replace testing with real users.
  • Colours from a picture depend on the sample size and the count you choose. Run it again with a different count if the set looks off.

Common questions

What do AA and AAA mean?

They are two levels of the WCAG contrast guidelines. AA needs 4.5 to 1 for normal text and 3 to 1 for large text. AAA needs 7 to 1 and 4.5 to 1.

Is my picture uploaded?

No. The picture is shrunk and analysed in your browser.

Why do harmonies use HSL?

Turning the hue while keeping saturation and lightness gives sets that look related. Other colour spaces give slightly different results.