Loona Automation โ€บ Image Compressor โ€บ Color Palette Generator

Color Palette Generator

Start from any colour and generate a harmonious five-colour palette โ€” analogous, complementary, triadic or monochromatic. Click any swatch to copy its HEX code.

Click any swatch to copy its HEX code.

How to generate a colour palette in 3 steps

  1. Pick a base colour โ€” the colour you must keep: a brand colour, a photo's dominant tone, a product colour.
  2. Choose a harmony โ€” analogous, complementary, triadic or monochromatic (explained below).
  3. Copy the HEX codes โ€” click any swatch to copy its code into your design tool or CSS.

The four harmonies, in plain words

Analogous palettes take neighbours on the colour wheel (20ยฐ and 40ยฐ each side). They feel calm and natural โ€” think of a sunset gradient โ€” and suit backgrounds and photo-led designs. Complementary palettes pair a colour with its exact opposite (180ยฐ away): maximum contrast and energy, ideal when one colour must pop against another, like a button on a page. Triadic palettes space three hues evenly (120ยฐ apart), giving variety that still balances โ€” a favourite for playful brands and illustrations. Monochromatic palettes keep one hue and step only the lightness, which is the safest route to a clean, professional interface.

How it works

Your base colour is converted to HSL, the harmony is applied as hue rotations and lightness steps on the colour wheel, and each result is converted back to HEX. Analogous uses โˆ’40ยฐ, โˆ’20ยฐ, base, +20ยฐ, +40ยฐ. Complementary adds the opposite hue at three lightness levels. Triadic adds +120ยฐ and +240ยฐ. Monochromatic fixes hue and saturation and walks lightness through 30%, 42%, 54%, 66% and 78%. Everything is computed locally in your browser.

Worked example

Start from pure red, #FF0000, and choose Triadic. Rotating the hue by 120ยฐ lands on pure green, #00FF00; another 120ยฐ lands on pure blue, #0000FF โ€” the three primary colours of light, perfectly balanced. The generator adds a lighter red and a deeper blue alongside, so the palette is ready to use rather than just theoretical. Switch the same red to Complementary and the partner is cyan, #00FFFF โ€” red's exact opposite on the wheel.

Frequently asked questions

Is this palette generator free?

Yes โ€” free with no signup. Generate as many palettes as you like and copy any HEX code with a click.

Which harmony should I choose for a website?

Start monochromatic for the interface itself (backgrounds, borders, text shades), then add one complementary accent colour for buttons and links. That combination is hard to get wrong.

Can I start from a colour in my photo?

Open the photo in our Image Compressor or editor, note the colour, then enter its HEX here โ€” or find the HEX first with the Loona Color Picker. Palettes built from a real photo's dominant colour always feel coherent.

What does the "Surprise me" button do?

It picks a random pleasant base colour (vivid but not neon) and rebuilds the palette in the harmony you selected โ€” a fast way to break a design block.

Are these palettes accessible?

A palette is a starting point, not a guarantee. Before using two palette colours as text and background, run them through the Loona Contrast Checker to confirm they meet WCAG AA.

More free photo tools

Image Compressor

Compress photos to an exact KB size โ€” 50KB, 100KB, 200KB.

Resize Image

Resize by pixels, cm or inches, with a print DPI setting.

Crop Image

Free crop plus ready ratios โ€” 1:1, 4:3, passport and more.

Image Format Converter

Convert JPG, PNG and WebP both ways, with quality control.

Photo Filters & Fix

Fix brightness, contrast and sharpness in seconds.

Photo Background Changer

Turn a photo background white, blue or light grey.

Photo to PDF

Turn one or more photos into a single PDF file.

Image Watermark

Add a text watermark โ€” set size, colour, opacity, position or tile it.

Color Picker

Pick any colour and copy its HEX, RGB, HSL and HSV values.

Contrast Checker

Check text and background colours against WCAG AA and AAA.

CSS Gradient Generator

Build linear gradients and copy the CSS code instantly.

Embed this tool on your website โ€” free

Add this tool to your own website or blog โ€” it is completely free, needs no sign-up, and always shows the latest version. Copy the code below and paste it into your page where you want the tool to appear. Keeping the small “Powered by Loona Automation” credit line under the embed helps keep this tool free — but you are free to style or remove it; the tool works either way.