Images · Color Palette Extractor

Find the main colors in an image and get their HEX codes

Quick answer

Open Toolfox → Color Palette Extractor, drop one or more images, choose how many colors (2 to 16, 6 by default) and click Extract Colors. Each color shows its HEX, RGB and HSL values and how much of the image it covers. It runs entirely on your computer (Mac, Windows or Linux). Files are never uploaded.

Download free macOS, Windows and Linux · works offline

How to do it

  1. Open Color Palette Extractor and drop up to 50 images.
  2. Set the number of colors.
  3. Click Extract Colors.
  4. Copy any value, or Save PNG… for a swatch image with one row per image.

Options you can set

  • Number of colors

Good to know

  • Colors are grouped in the CIELAB color space, which matches how people perceive color, on a reduced copy of the image. The same image always gives the same palette.
  • Share is the fraction of the image each color covers. Transparent areas are ignored. Values are sRGB; embedded color profiles aren't applied.

Color Palette Extractor FAQ

Will I get the same palette every time?

Yes. Colors are grouped in the CIELAB color space, which matches how people perceive color, and the same image always gives the same palette.

Why did I get fewer colors than I asked for?

Images with fewer distinct colors return fewer. Transparent areas are ignored.

Are color profiles applied?

No. Values are sRGB, and embedded color profiles aren't applied.

Is Color Palette Extractor in Toolfox free?

Yes. Color Palette Extractor is one of 57 tools in Toolfox, a free app for Mac, Windows and Linux with no account, ads, limits or watermarks.

Does Color Palette Extractor upload my files?

No. Toolfox processes files on your own computer and works offline; your files are never uploaded.

More images tools in Toolfox

See all 57 tools →

Toolfox app icon

Get Color Palette Extractor and 19 more tools.

Free forever. No account. Works offline. For macOS, Windows and Linux.

macOS Windows Linux

Updated 2026-10-18 · Toolfox v0.2.1