Skip to content
toolavix

Color Palette Generator

Generate beautiful color schemes, lock your favorites and export them.

  • Free
  • No sign-up

Instant results, no sign-up required.

How does a color palette generator work?

A color palette generator creates sets of colors that look good together. This one builds five-color palettes from color theory rules such as analogous, complementary, triadic, tetradic and monochromatic harmonies, or completely at random. Lock the colors you like and generate again to change only the rest, then export the palette as CSS variables, a Tailwind config, JSON or a PNG image. Everything runs in your browser.

How to generate a color palette

  1. 1

    Choose a harmony rule, or leave it on Random.

  2. 2

    Press “Generate palette” until you see colors you like.

  3. 3

    Click the lock icon on any color you want to keep, then generate again to refresh the others.

  4. 4

    Click a color to copy its HEX code, or export the whole palette as CSS, Tailwind, JSON, HEX list or PNG.

Key features

Color theory harmonies

Analogous, complementary, triadic, tetradic and monochromatic schemes are built from hue relationships on the color wheel.

Lock favorite colors

Lock a color and the other swatches are regenerated around its hue, so you can refine a palette step by step.

Developer-ready exports

Copy CSS custom properties, a Tailwind CSS colors object, a JSON array or a plain HEX list.

PNG download

Save the palette as an image with HEX labels to share with a team or add to a design mood board.

Frequently asked questions

What is a complementary color scheme?

A complementary scheme uses two colors opposite each other on the color wheel, such as blue and orange. It produces high contrast and works well for call-to-action buttons.

What is an analogous palette?

An analogous palette uses colors that sit next to each other on the color wheel, for example blue, blue-green and green. It looks calm and cohesive.

How many colors should a website palette have?

Most interfaces work well with one primary color, one or two accent colors and a set of neutrals. A 60-30-10 split between dominant, secondary and accent colors is a common guideline.

How do I use the exported CSS variables?

Paste the :root block into your stylesheet and reference the colors with var(--color-1), var(--color-2) and so on, for example background: var(--color-3).

Can I check if my palette is accessible?

Yes. Copy a pair of HEX codes into the color converter on this site to see their WCAG contrast ratio before using them for text and backgrounds.

More Developer tools

View all →