ColorDetector

Color Palette Generator

Generate complementary, analogous, triadic and more from any base color.

About the Color Palette Generator

Generate complementary, analogous, triadic and more from any base color. Every value is computed locally with vanilla JavaScript — there is no server round-trip, no sign-up and no limit on how many times you use it.

01

How to use

Step 1

Choose a base color

Enter a HEX value or pick one visually.

Step 2

Select a harmony

Choose complementary, analogous, triadic and more from the menu.

Step 3

Review the palette

A row of coordinated swatches is generated instantly.

Step 4

Copy any color

Click a swatch to copy its HEX, or hit Random to explore.

02

Benefits

Coordinated colors fast

Get a balanced set from a single starting color.

Many schemes

Switch between harmony types to match the mood you want.

Inspiration on demand

The Random button surfaces fresh palettes in a click.

03

Features & supported formats

Features

  • Multiple harmony types
  • Random palette button
  • Click-to-copy swatches
  • Live base-color preview
  • Works from any HEX

Supported formats

HEX
04

Accuracy & limitations

Harmony schemes are hue arithmetic on the color wheel. They tell you which hues relate to each other, and nothing about whether the palette suits your project or passes contrast.

  • Harmony schemes are hue rotations on the color wheel. They tell you which hues relate, not whether the resulting palette suits your project.
  • Generated colors carry no accessibility guarantee. Check any pair you plan to use for text in the contrast checker.
  • Saturation and lightness are held near the base color, so a very light or very dark input produces a correspondingly narrow palette.
  • Hue rotation in HSL is not perceptually uniform — a 120-degree step does not feel equally large everywhere on the wheel.
05

Frequently asked questions

Which harmony should I use?

Analogous palettes feel calm, complementary palettes feel energetic, and triadic palettes feel balanced and vibrant.

How are the colors calculated?

The tool rotates the base hue on the color wheel and adjusts lightness or saturation to build each scheme.

Can I lock a color I like?

Copy any swatch you want to keep, then generate again around a new base for more options.

How many colors per palette?

It depends on the harmony — from two for complementary up to five for monochromatic and tonal sets.

Are palettes free to use?

Yes. The colors you generate are yours to use in any personal or commercial project.

06

Further reading