ZapKit

Colour palette generator

Find colours that work together: generate five-colour palettes from harmony rules, lock the ones you love, or turn one brand colour into a full 50–950 scale.

What is a colour palette generator?

A colour palette generator suggests sets of colours that look good together, so you don't have to pick each one by trial and error. Designers use palettes for brands, websites, slides and illustrations.

This one works two ways. Palette mode creates five colours from a harmony rule, such as complementary or pastel; press the space bar for new ideas and lock any colour you want to keep. Shade scale mode takes one colour and builds eleven evenly spaced lighter and darker steps, named 50 to 950, for buttons, backgrounds, borders and text.

How to use the Colour palette generator

  1. 1.Pick a mode

    A five-colour palette, or a shade scale from one base colour.

  2. 2.Generate and refine

    Press space or Generate; lock colours to keep them, or type exact values.

  3. 3.Export

    Copy CSS variables, Tailwind colours or JSON.

Example: a scale from a brand blue

Base colour #2547d0, named brand:

Exact colour placed at
700 ★
50 (lightest)
#f3f7ff
500
#4d7aff
950 (darkest)
#07133d

Eleven related blues, exported as --brand-50 to --brand-950, cover light backgrounds through dark text.

Built on how people see colour

Colours are generated in OKLCH, a colour space where equal steps in lightness look equal to the eye. That's why the shade scale moves evenly from near-white to near-black instead of bunching up, and why generated palettes rarely include a colour that looks oddly bright or muddy.

In the scale, your exact colour sits at the step nearest its own lightness, marked with a star, and colour strength eases off toward the lightest and darkest steps, where screens can't show strong colour anyway.

Frequently asked questions

What do the harmony rules mean?

Analogous uses neighbouring hues, complementary uses opposites, triadic three evenly spaced hues, and monochrome one hue at different lightness.

How does locking work?

Locked colours stay when you generate, and new colours follow the first locked colour's hue.

Can I share a palette?

Yes. The colours, locks and settings are in the page address.

Is this the same scale Tailwind uses?

It uses the same 50 to 950 step names, but the shades are calculated from your colour rather than copied from Tailwind's built-in palette.

More Developer tools