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

Color Palette Generator

Start from any color and generate a harmonious five-color 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 color palette in 3 steps

  1. Pick a base color โ€” the color you must keep: a brand color, a photo's dominant tone, a product color.
  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 neighbors on the color 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 color with its exact opposite (180ยฐ away): maximum contrast and energy, ideal when one color must pop against another, like a button on a page. Triadic palettes space three hues evenly (120ยฐ apart), giving variety that still balances โ€” a favorite 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 color is converted to HSL, the harmony is applied as hue rotations and lightness steps on the color 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 colors 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 color for buttons and links. That combination is hard to get wrong.

Can I start from a color in my photo?

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

What does the "Surprise me" button do?

It picks a random pleasant base color (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 colors 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 gray.

Photo to PDF

Turn one or more photos into a single PDF file.

Image Watermark

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

Color Picker

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

Contrast Checker

Check text and background colors 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.