Task path / input to outcome
How to build a five-color harmony
- 01
Set the seed color
Type a six-digit hex value into Seed HEX — the # prefix is optional — or pick the color visually with Seed picker. The two fields stay in sync, and the workspace opens with the seed #5D4DF1.
- 02
Choose the harmony rule
Choose Analogous, Complementary, Split complementary, Triadic, Tetradic, or Monochrome. The engine applies fixed hue offsets and then pins the middle swatch to your exact seed; the other swatches may not land on textbook angles. Monochrome keeps the seed hue while varying both saturation and lightness.
- 03
Set the contrast target
Pick a Text contrast target: 3:1 for large text, 4.5:1 for AA body text, or 7:1 for AAA body text — the default is 4.5:1. Every swatch is measured against black or white, whichever reads better on it.
- 04
Generate the palette
Press Generate palette. Five swatches appear, and the middle one is always your exact seed color — the other four shift hue, saturation, and lightness around it within clamped ranges, so the ramp stays usable instead of drifting to neon or mud.
- 05
Read the contrast badges
Each swatch shows its hex value, its contrast ratio, and a Pass or Below target badge, with the swatch text rendered in black or white — the color that won the contrast comparison. A Below target badge means pick a darker or lighter neighbor for text, not that the color is broken.
- 06
Copy the CSS or download the JSON
Copy CSS copies a commented :root block with the custom properties --palette-1 through --palette-5. Download JSON saves toolars-palette.json, which records the seed, harmony, contrast target, and every color's contrast data alongside explicit aiModel and api fields set to null.