← All blog posts

Color Palette Generator — the complete guide

WhiteUI · A plain-English guide to the Color Palette Generator

A five-colour palette has a surprising number of details: three harmonies, a base colour that drives everything, a button that picks a random start, and five hex codes to copy. This guide covers every part of the Color Palette Generator: the harmonies, the limits, the maths, and the everyday uses, so you never have to guess what a setting does.

At a glance

The opposite of 255° is 75°0°180°360°255° + 180° = 435° − 360° = 75°
The opposite of 255 degrees is 75 degrees: 255 plus 180 is 435, minus 360 is 75.

The three harmonies

Analogous gives colours next to each other on the wheel, at 15 and 30 degrees either side of your base. For #673DE6 that is #3D67E6, #3D3DE6, #673DE6, #913DE6 and #BC3DE6, five purples from 225 to 285 degrees. Complementary gives the colour 180 degrees away, #BCE63D, plus lighter versions of both colours at 75.1% lightness, #A78EF0 and #D8F08E, and a darker purple at 42.1% lightness, #4218BE. Triadic gives three colours spaced 120 degrees apart, #673DE6, #E6673D and #3DE667, plus the lighter versions #A78EF0 and #F0A78E. Analogous is calm, Complementary has contrast, and Triadic has energy.

The base colour drives everything

Every swatch is worked out from the base colour, so changing the base changes the whole palette. The default base is #673DE6, at hue 254.9 degrees, saturation 77.2% and lightness 57.1%. Change it to a red, #E63946, at hue 355.5 degrees, and the Analogous palette becomes #E6399D, #E63971, #E63946, #E65739 and #E68239, while the Complementary palette becomes #E63946, #39E6D9, #F08B92, #8BF0E9 and #BB1824. The harmony rules never change; only the starting point does, which is why picking a good base colour matters more than picking a harmony.

The New palette button

The New palette button picks a fresh base colour for you: a random hue with saturation 75% and lightness 57%. It keeps the harmony you have selected, so pressing it with Analogous chosen gives a fresh set of five neighbours each time, and pressing it with Complementary chosen gives a fresh pair of opposites each time. Use it when you have no starting colour in mind, and copy the five codes before you press it again, because each press replaces the palette and there is no undo.

Reading the five swatches

Each swatch is a block of colour with its hex code printed underneath it, in capital letters. The big line at the top shows only the base colour, #673DE6, so do not mistake it for the palette. The five codes under the swatches are the output: copy them into your design tool, your stylesheet or your notes, and use them exactly as printed, because a single wrong digit, such as #673DE5 instead of #673DE6, is a different colour.

Copying the codes into your design

Paste a hex code into any design tool, slide deck, website stylesheet or paint app that accepts hex colours, and the colour will match the swatch exactly. There is nothing to download and no account to create. If your tool asks for RGB values instead of hex, convert the code: #673DE6 is red 103, green 61 and blue 230. If it asks for HSL, the same colour is hue 254.9 degrees, saturation 77.2% and lightness 57.1%.

The common mistake

People treat the five swatches as five separate colours to use in equal amounts, and the result looks busy. A palette works best with a clear split: one colour for most of the design, a second for accents, and the light and dark swatches for backgrounds and text. With the default Complementary palette, that might mean #673DE6 for most of the page, #BCE63D for buttons, #A78EF0 for light backgrounds and #4218BE for text. The tool gives you the colours; the proportions are what make them look deliberate.

Frequently asked questions

What are the three harmonies?

Analogous gives colours 15 and 30 degrees either side of your base; Complementary gives the colour 180 degrees away plus lighter and darker versions; Triadic gives three colours 120 degrees apart plus lighter versions.

What is the complementary colour of #673DE6?

#BCE63D, a yellow-green at 75 degrees, exactly 180 degrees from the purple at 255 degrees.

What does the New palette button do?

It picks a fresh base colour with a random hue, saturation 75% and lightness 57%, and builds a new five-colour palette from it, keeping your chosen harmony.

How do I copy a colour into my design?

Copy the hex code printed under its swatch, such as #913DE6, and paste it into your design tool or stylesheet.

What are the RGB values of #673DE6?

Red 103, green 61 and blue 230. In HSL it is hue 254.9 degrees, saturation 77.2% and lightness 57.1%.

More guides on the Color Palette Generator

Try it yourself

Try the Color Palette Generator — free, in your browser.

Open the Color Palette Generator