←
Design

Color Palette Generator

Loading the tool…

Ready when you are.Runs in this browser · nothing is uploaded

Harmonious palettes, lock and shuffle

  • Free
  • No sign-up
  • No upload
  • Works offline

Tool facts

Saves as
PNG
Price
Free, no sign-up, no watermark
Are files uploaded?
No. Everything is processed in this browser, on your device.
Offline use
Works without a connection once this page has loaded
Built with
Canvas
Browser
A recent Chrome, Edge, Firefox or Safari, on computer or phone.

Check it yourself: press F12, open the Network tab, then use the tool. No request carries your data.

About Color Palette Generator

Color Palette Generator creates a five-color palette from a color harmony and lets you refine it by locking the colors you want to keep and shuffling the rest. Choose analogous, complementary, triadic, tetradic, split-complementary, monochrome or fully random, then press the space bar or the Shuffle button for a new variation. When a color is locked, the next palette is built around it, so the new colors belong to the same scheme.

Harmonies are calculated in the OKLCH color space, which spaces hues and lightness the way the eye perceives them, so complementary pairs and tints look balanced instead of muddy. Any color outside the sRGB gamut is pulled back by reducing chroma. Click a swatch to adjust it with the color picker, click its code to copy it, and export the finished palette as CSS custom properties in HEX or OKLCH, as a JSON array, or as a 1200 × 600 PNG image.

Color Palette Generator runs entirely in your browser. Your data is processed on your device and is never uploaded to Qiyi or anyone else.

How to use Color Palette Generator

  1. Pick a Harmony such as Analogous or Complementary in the Options panel.
  2. Press the space bar or click Shuffle to generate new palettes; click Undo to go back.
  3. Click the lock button under a color to keep it; the next shuffle builds the harmony around the locked color.
  4. Click a swatch to fine-tune it with the color picker, or click its HEX code to copy it.
  5. Under Export, choose CSS variables, CSS OKLCH or JSON and click Copy, or click Download PNG.

Frequently asked questions

What do the harmony types mean?

They are positions on the color wheel. Analogous colors sit next to each other (within about 40 degrees), complementary colors are opposite (180 degrees), triadic colors are 120 degrees apart, tetradic (square) colors 90 degrees apart, and split-complementary uses the two neighbors of the complement (150 and 210 degrees). Monochrome keeps one hue and varies lightness.

How does locking work?

Locked colors never change when you shuffle. The first locked color also becomes the base of the next harmony, so if you lock your brand blue and shuffle with Triadic, the other colors are calculated as its triadic partners.

Why OKLCH instead of HSL?

In HSL, yellow at 50% lightness looks much brighter than blue at 50% lightness, so rotating the hue produces uneven palettes. OKLCH is perceptually uniform: colors with the same L value look equally light, which keeps generated palettes balanced.

Can I use the palette in Tailwind or Figma?

Copy the CSS variables into your stylesheet, or copy the HEX list and paste the codes into Figma, Tailwind's config or any design tool. For a full 50–950 scale from one of the colors, open it in the Color Shades tool.

Are my palettes saved?

No. Palettes exist only in this browser tab and nothing is uploaded. Export or copy a palette you want to keep; Undo remembers the last 30 palettes until you close the page.

· Free · Runs in this browser · nothing is uploaded

Drop any file here
Drop it to see which tools can open it