Color palette extractor

Drop a photo, logo or screenshot to pull out its main colours, or click anywhere on the image to pick an exact one. Export the palette for CSS, Tailwind, Figma or your design notes.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

How to use it

  1. Add an imageDrop, choose or paste a photo, logo, screenshot or artwork.
  2. Tune the paletteChoose how many colours you want. Favour vivid colours to catch small accents, or ignore the background for product shots and logos.
  3. Pick and exportClick the image to add exact colours, click a swatch to copy it, and export as CSS variables, SCSS, Tailwind, JSON or a GIMP/Inkscape palette.

Questions

How are the colours chosen?

The image is sampled and grouped with k-means clustering in the OKLab colour space, which matches how people see colour differences better than RGB. Each swatch is the average colour of one group, and the percentage is how much of the image it covers.

Why is my brand colour missing?

Small details are outweighed by big areas. Turn on “Favour vivid colours”, increase the number of colours, or click on the colour in the image to add it exactly.

Which text colour works on each swatch?

Each swatch shows whether white or black text is more readable on it, with the WCAG contrast ratio. Use “Check contrast” for a full test.

Can I use the palette in Figma or Photoshop?

Copy the HEX list and paste the codes, or save the GIMP .gpl palette, which Inkscape, GIMP and Krita import directly.

Is my image uploaded?

No. It’s drawn on a canvas in your browser and analysed there.