Skip to content

Colour palette extractor

Colour palette extractor

Get an image's main colours, in the formats you actually paste into code.

DeveloperRuns on your device. Nothing is uploaded.

How it works

  1. Add an image

    Drop one or more images. Colours appear right away.

  2. Set the count

    Choose how many colours you want.

  3. Copy a value

    Each value has its own copy button.

  4. Export

    Copy the whole palette in your format, or save a swatch card.

Questions

The image is reduced to a few representative colours. Near-duplicates are merged, and they're sorted by how much of the image each covers.

It's a WCAG contrast level. AA needs 4.5:1 for normal text, and AAA needs 7:1. These figures show each colour against white and black.

Very simple images may not have enough distinct colours, and we won't pad the list with near-identical ones.

No. Reading colours happens in your browser, so nothing is sent to a server.

Related posts(1)

Search

Search tools and blog posts