Design & images

Colour palette generator and image colour picker.

Get the main colours out of a photo or logo, click anywhere on the image to pick an exact colour, or start from your brand colour and get matching palettes: complementary, analogous, triadic, and lighter and darker shades. Copy any colour as HEX or RGB, or the whole palette as CSS.

  • Free, no sign-up
  • Runs in your browser. Nothing you enter is sent to us.

How to use the colour Palette Generator & Image Colour Picker

  1. Choose "From an image" and drop in a photo or logo, or choose "From a colour" and pick your brand colour.
  2. Click a swatch to copy its HEX code. In image mode, click anywhere on the picture to pick that exact colour.
  3. Each swatch shows whether white or black text reads better on it.
  4. Copy the whole palette as CSS variables for your website.

Building a palette that works

A practical website palette usually needs fewer colours than people expect: one main brand colour for buttons and links, one accent for highlights, a dark colour for text, a light background, and a few greys. Too many strong colours compete with each other and with your calls to action.

  • Complementary: the opposite colour on the wheel. Strong contrast; good for one accent.
  • Analogous: neighbours on the wheel. Calm and cohesive.
  • Triadic: three evenly spaced colours. Lively; use one as the main colour and the others sparingly.
  • Shades and tints: darker and lighter versions of one colour, for hover states, backgrounds and borders.

Getting colours from a logo or photo

Image mode groups similar pixels together and shows the most common colours, which is a quick way to find a logo's exact brand colours or build a palette that matches your photography. For a precise match, click the exact spot on the image. Everything happens in your browser; your image isn't uploaded.

Check it's readable

Pretty colours aren't enough: text has to be readable on them. Each swatch shows whether white or black text passes the WCAG AA contrast level, and the colour contrast checker tests any pair and suggests a passing shade. For gradients built from your palette, try the CSS gradient generator.

Questions

About the colour Palette Generator & Image Colour Picker.

How do I find the colour codes in my logo?

Choose "From an image", drop your logo in, and either read the extracted palette or click the exact part of the logo to pick its colour.

What is the difference between HEX and RGB?

They describe the same colour in two ways: HEX as #1D4ED8, RGB as rgb(29, 78, 216). Websites accept both.

Is my image uploaded?

No. Colours are extracted in your browser.

How many colours should a brand palette have?

Usually one or two brand colours, one accent, plus neutrals for text and backgrounds. More than that is hard to use consistently.

Why are the extracted colours slightly different from my design file?

Photos and compressed images shift colours a little. For exact brand colours, use the codes from your original design files.

Want this done for you?

Free tools show you what to fix. We fix it, measure it, and keep it working while you run the business.