How to generate a color palette in 3 steps
- Pick a base color โ the color you must keep: a brand color, a photo's dominant tone, a product color.
- Choose a harmony โ analogous, complementary, triadic or monochromatic (explained below).
- 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
Compress photos to an exact KB size โ 50KB, 100KB, 200KB.
Resize by pixels, cm or inches, with a print DPI setting.
Free crop plus ready ratios โ 1:1, 4:3, passport and more.
Convert JPG, PNG and WebP both ways, with quality control.
Fix brightness, contrast and sharpness in seconds.
Turn a photo background white, blue or light gray.
Turn one or more photos into a single PDF file.
Add a text watermark โ set size, color, opacity, position or tile it.
Pick any color and copy its HEX, RGB, HSL and HSV values.
Check text and background colors against WCAG AA and AAA.
Build linear gradients and copy the CSS code instantly.