palette

Color Palette Generator

IMAGE

Generate harmonious color palettes and copy HEX, CSS or JSON values.

shield_lock Private & on-device
Live workspace
Preparing…
lock Your files and text are processed in this browser and never uploaded.
In-depth guide

About Color Palette Generator

Color Palette Generator: Build a Coherent Palette

Start with a brand colour, a colour from a photograph or a random hue, then choose a harmony rule. The generator produces five coordinated swatches using analogous, complementary, triadic, tetradic, split-complementary, monochromatic or shade relationships. Click any swatch to copy its HEX value, or copy the whole set as CSS custom properties or JSON.

Palettes are generated mathematically in HSL colour space, which makes the relationships predictable and easy to adjust. That is different from the Image Palette Generator, which extracts the dominant colours from an uploaded photo. Use this tool when you already have a base colour and need a matching set for a website, slide deck or brand exploration.

From Palette to Interface

Test the colours against real text and backgrounds before committing. A palette can look balanced as swatches but fail contrast requirements in buttons, links or small labels. Pair the generator with a contrast checker and define semantic roles such as primary, surface, muted and danger instead of using colours arbitrarily.

Answers

Frequently asked questions

Are the generated palettes accessible?

Not automatically. The tool creates harmonious colour relationships, but accessibility depends on how the colours are paired and on contrast ratios. Check text and background combinations with a WCAG contrast checker before shipping an interface.

Can I export a palette?

Yes. Copy the five HEX values as CSS custom properties or as JSON. Individual swatches can also be clicked to copy a single HEX code.

Which colour harmonies are included?

Analogous, complementary, triadic, tetradic, split-complementary, monochromatic and shades. Each produces five swatches from the same base colour.

Can I extract colours from an image?

Use the separate Image Palette Generator for that. This tool starts from a HEX colour and generates harmony-based palettes mathematically.

Quick tips

  • Use PNG for transparency, JPG for photos and WebP for the smallest web files.
  • Crop and resize first, then compress the final export and inspect its quality.
  • Check the output preview before downloading to confirm quality.