15 / Colour Palette Generator

Planning · No. 15

Generate harmonious colour palettes and copy the hex codes.

Colour Palette Generator.

Press Space for a new palette, or pick a base colour and a harmony. Lock the colours you love — the rest roll around them.

5 colours

Press Space for a new palette. Lock the colours you love — the rest roll around them. Click a colour to copy it; click its HEX to edit it.

How to make a colour palette.

  1. Press Space. A new palette appears. Lock any colours you love and press Space again — only the unlocked ones roll, around the locked ones.
  2. Refine it. Drag strips to reorder, add or remove colours, or click a HEX to edit one colour by hue, saturation and lightness.
  3. Copy or download. Click any colour to copy its HEX, copy the whole palette in the format you need, or download it as a PNG.

What each harmony does.

HarmonyHow it worksBest for
AnalogousColours next to each other on the wheelCalm, natural designs
ComplementaryYour colour plus its exact oppositeBold contrast, call-to-action accents
TriadicThree colours evenly spaced around the wheelPlayful, balanced designs
Split-complementaryYour colour plus the two beside its oppositeStrong contrast that is softer than complementary
MonochromeOne hue, shades from dark to lightMinimal, single-colour brands
RandomOne random hue, the rest jittered around itSurprises and brainstorming

Worked example.

Start with pure red, #FF0000, and the complementary harmony. Its exact opposite on the colour wheel is cyan, #00FFFF — the pair gives the strongest possible contrast. With triadic harmony the same red gives green #00FF00 and blue #0000FF, the three primary colours of light, evenly spaced 120° apart.

As CSS variables the red palette looks like this:

:root { --palette-1: #FF0000; --palette-2: #00FFFF; }

Questions, answered.

How do I copy a colour?

Click any strip and its HEX code (for example #2563EB) is copied to your clipboard. Each detail row also has copy buttons for HEX, RGB, HSL and CMYK.

What does locking a colour do?

A locked colour is never changed when you press Space or Generate — only the unlocked colours are rolled again, and they are chosen to match the locked ones. Lock the colours you like and keep rolling until the rest fall into place.

How does the image extraction work?

Your photo is drawn to a small canvas in your browser and its pixels are grouped by colour. The biggest groups become your palette, each with its share of the image — for example, a beach photo might be 42% sand, 31% sky, and so on.

What do I get in the .css download?

A ready-to-use file with your colours as CSS variables, --palette-1 to --palette-N, inside a :root block. Paste it into your stylesheet and use the variables anywhere.

Are my photos uploaded anywhere?

No. The photo is sampled on your device and never sent to a server. Closing the page deletes it.

Your colours and photos are processed entirely in your browser and never uploaded to any server.

Related tools.

Digital Planner Maker · Passport Photo Maker · Compress Image to Exact KB