zemixtools

Color palette from an image

Drop or paste a photo and take its main and accent colours, with contrast pairs that tell you which colour reads on which. The image never leaves this device.

  • No sign-up
  • No upload
  • No waiting

Drop a photo or imageTap to choose a photo

JPG, PNG, WebP or GIF. Photos with clear colours give the best palette.

or drop it anywhere, or paste a screenshot with Ctrl+V
Order
Copy as
Take the palette

Sent from your device: 0 bytesSwitch off the internet and it still works.

O open a photoC copy CSSEsc start over
A flower seller arranging bright bouquets at a market stall
Example
Example

This photo, through this tool

  • #58442926%
  • #E9DDCB24%
  • #97917722%
  • #11120D17%
  • #AA50359%
  • #D29D363%
Six colours, ordered by how much of the photo they cover.
From the studio

What we do on client work

  1. We start palettes from a photo the client already loves. Colours taken from a real scene sit together naturally.

  2. We keep one dark and one light colour for text and background, and test every pair before choosing an accent.

  3. Five or six colours are enough for most websites. A longer list usually means less clarity, not more choice.

How to get a palette from a photo

  1. Drop a photo, a screenshot or an illustration on the panel, or paste a screenshot straight from your clipboard.
  2. Choose how many colours you want, from three to ten. Main colours come first, and small bright accents are kept rather than averaged away.
  3. Hover the photo to see a loupe and click to add any exact pixel, or use the arrow keys and Enter. Copy a colour as HEX, RGB, HSL or OKLCH.
  4. Check the contrast pairs, then copy the palette as CSS, Tailwind or SCSS, or download it as JSON or a PNG strip.

How the colours are chosen

The tool reads every pixel of a reduced copy of your image and groups similar colours together, measuring similarity the way the human eye does rather than by raw numbers. Each group becomes one colour of the palette, and its share shows how much of the picture it covers.

Small rings on the preview point to a spot where each colour really appears, so you can see where it came from. Transparent areas of a PNG are ignored, which makes it easy to pull colours from a cut-out product or a logo.

Getting a palette you can use

Photos with a clear light and a few large areas of colour give the most usable palettes. For a brand palette, start with six colours, keep the darkest and lightest for text and background, and use the strongest one for buttons and links.

Questions people ask

Is my image uploaded?

No. The colours are measured inside your browser, so the image stays on your device the whole time.

What do the contrast pairs mean?

Each pair shows text in one palette colour on a background in another, with its contrast ratio. 4.5:1 passes the WCAG AA level for body text and 7:1 passes AAA. For pairs that nearly pass, the tool suggests the closest shade that does.

Why does the palette change when I pick more colours?

With more colours the tool can split large groups into finer shades, so a broad blue may become a light and a dark blue.

Can I use the palette in Figma or CSS?

Yes. Copy the HEX list into your design tool, or copy the CSS block, which defines each colour as a custom property ready to paste into a stylesheet.

Which image formats work?

JPG, PNG, WebP and GIF all work. For an animated GIF the first frame is used.