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.
How to do it
- Open Color Palette Extractor and drop up to 50 images.
- Set the number of colors.
- Click Extract Colors.
- 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
Get Color Palette Extractor and 19 more tools.
Free forever. No account. Works offline. For macOS, Windows and Linux.
Updated 2026-10-18 · Toolfox v0.2.1