← All blog posts

How to get an accurate result from the Color Palette Generator

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

An accurate result from the Color Palette Generator comes from two habits: typing the exact base colour you mean, and checking the five hex codes before you copy them. The tool already uses exact arithmetic, so most accuracy problems come from picking a colour by eye that is a few shades away from the one you meant, or copying a code from the wrong line on the page.

At a glance

Lighter swatch: lightness 75.1%75.1% lightness24.9 points to white57.1% + 18 = 75.1% → #A78EF0
The lighter swatch sits at 75.1 percent lightness, which is the base lightness of 57.1 percent plus 18, giving #A78EF0.

Type the base colour, do not pick it by eye

If your brand colour is #673DE6, type #673DE6 into the base colour box. Picking it from the colour picker by eye can land a few shades away, such as #6B3FE6, and every swatch in the palette moves with it, so all five codes will be wrong by a little. Typing the code is exact, and it takes the same few seconds. If the code comes from a brand guide or a stylesheet, copy it from there rather than typing it from memory, because one wrong digit gives a different colour.

Check the five codes before you copy

Read all five codes under the swatches after every change. For the default base #673DE6 with Analogous harmony, they should read #3D67E6, #3D3DE6, #673DE6, #913DE6 and #BC3DE6. With Complementary they should read #673DE6, #BCE63D, #A78EF0, #D8F08E and #4218BE. If any code looks wrong, the base colour or the harmony is wrong, and fixing the setting is quicker than correcting five codes by hand afterwards.

The hue steps are exact

Analogous steps the hue by exactly 15 and 30 degrees: for the default base at 254.9 degrees, the five hues are 224.9, 239.9, 254.9, 269.9 and 284.9 degrees. Complementary adds exactly 180 degrees: 254.9 plus 180 is 434.9, minus 360 is 74.9 degrees, which is #BCE63D. Triadic adds exactly 120 and 240 degrees, giving 14.9 and 134.9 degrees, which are #E6673D and #3DE667. If a palette you built by hand does not match those steps, the hand calculation is the problem, not the tool.

How the lighter and darker steps work

The lighter swatches raise lightness by exactly 18 points, from 57.1% to 75.1%, which turns the purple #673DE6 into #A78EF0 and the yellow-green #BCE63D into #D8F08E. The darker swatch lowers lightness by exactly 15 points, from 57.1% to 42.1%, which turns #673DE6 into #4218BE. Lightness never goes above 90% or below 5%, so a very light base colour gives a lighter swatch that stops at 90%. Knowing those two numbers, plus 18 and minus 15, lets you predict the light and dark steps for any base colour.

Worked check: the opposite colour

Check any Complementary palette with one subtraction: add 180 to the base hue, and if the answer is over 360, subtract 360. For the default base, 254.9 plus 180 is 434.9, minus 360 is 74.9 degrees, and the swatch at 74.9 degrees is #BCE63D. If the second swatch in your palette is not the colour at that hue, the base colour has changed since you last looked. This five-second check is worth doing the first time you use the tool, so you trust the results afterwards.

The common mistake

People copy the base colour from the big line at the top and paste it five times, thinking they have copied the palette. That line shows only #673DE6, the starting colour. The palette is the five different codes under the swatches, and each one has to be copied separately. Check that you have five different codes, with the middle one matching the base, before you paste anything into your design.

Frequently asked questions

How do I get an exact palette from the generator?

Type the exact hex code, such as #673DE6, into the base colour box instead of picking by eye, then check the five codes under the swatches.

What should the analogous palette for #673DE6 read?

#3D67E6, #3D3DE6, #673DE6, #913DE6 and #BC3DE6, at hues 225 to 285 degrees.

How are the lighter and darker swatches worked out?

Lightness rises by 18 points, from 57.1% to 75.1%, for the lighter swatches, and falls by 15 points, to 42.1%, for the darker one.

How do I check a complementary palette quickly?

Add 180 to the base hue and subtract 360 if the answer is over 360. For #673DE6 that gives 74.9 degrees, which is #BCE63D.

More guides on the Color Palette Generator

Try it yourself

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

Open the Color Palette Generator