Colour Palette Generator
DesignGenerate a harmonious colour palette from any base colour — complementary, triadic, analogous, or monochromatic. Instant, free, runs entirely in your browser.
What is a Palette?
A Colour Palette Generator derives a small set of colours that work well together, starting from a single base colour you choose. Rather than guessing which shades pair nicely by eye, the Colour Palette Generator applies one of four established colour theory rules — complementary, triadic, analogous, or monochromatic — to mathematically derive five related colours from your starting point.
This matters because picking colours that look good together is genuinely hard without training in colour theory. A palette built on a real relationship between hues — rather than colours chosen at random — reads as intentional and cohesive, whether you're designing a website, a presentation, or a piece of artwork. If you also need a strong, random value for something security-related rather than visual, the Password Generator covers that different kind of generation task.
How to use this Palette calculator
- Pick a starting colour using the Base Colour colour picker, or type a hex code directly into the text field next to it.
- Choose a Harmony rule — Complementary, Triadic, Analogous, or Monochromatic — from the dropdown.
- Review the five generated swatches, which update instantly as you change either setting.
- Click any swatch to copy its hex code to your clipboard — the swatch shows "Copied!" to confirm.
- Paste the copied hex codes into your design tool, CSS file, or document wherever you need them.
Formula & Methodology
The generator first converts your base colour from hex into HSL (Hue, Saturation, Lightness), since hue rotation — the basis of every colour harmony rule — is straightforward in HSL but awkward in RGB.
Each harmony mode then derives five HSL values from the base:
- Complementary: the base colour, lighter and darker variants of it, the colour 180° opposite on the wheel, and a lighter variant of that opposite.
- Triadic: the base colour plus colours at +120° and +240°, with two additional lightness variants of the base for a fuller set.
- Analogous: five colours evenly spaced at -30°, -15°, 0°, +15°, and +30° from the base hue.
- Monochromatic: the same hue and saturation at five different lightness levels (20%, 35%, 50%, 65%, 80%).
Every derived HSL value is converted back to a 6-digit hex code for display and copying.
Example: starting from #2F6FED (a signal blue) with Complementary harmony produces a base blue, a lighter and darker blue, and an orange-toned complement around 180° away on the colour wheel, plus a lighter version of that complement.