Image Color Extractor
Get the main colours of a photo, logo or screenshot. See each colour with its HEX code, RGB value and share of the image, and copy or save the palette.
Add an image
Click or drop a JPG, PNG or WebP file here.
Up to 10 MB. The file stays on your device.
5 to 12 colours
Pick how many colours you want. The same image always gives the same palette, sorted from the biggest share to the smallest.
Pick any point
Click a point on the image, or type its X and Y, to get the exact colour of that pixel.
Private
Your image is read in your browser. Nothing is uploaded or saved.
How to use the Image Color Extractor
- Choose a JPG, PNG or WebP image, or drop it on the box.
- Pick how many colours you want, from 5 to 12.
- Press a colour to copy its HEX code, or copy or download the whole palette.
Questions and answers
Is it free?
Yes. The tool is free to use and needs no account or sign-up.
Is my image uploaded?
No. The image is read in your browser and nothing is uploaded or saved.
Will the same image always give the same colours?
Yes. The palette comes from median cut followed by a few rounds of k-means, with no randomness.
How can I save the palette?
Copy it as a HEX list or as CSS custom properties, or download it as a .txt or .json file.
More free tools
Favicon Generator
Make a favicon.ico and PNG icons from 16 to 512 px from one picture, with link tags and a web manifest.
Open toolImage Resizer
Resize an image to the exact width and height you need.
Open toolColor Contrast Checker
Check the contrast ratio of a text and background colour, with pass or fail for WCAG 2.2 AA and AAA.
Open toolColor Picker
Pick a colour and copy its HEX, RGB and HSL codes.
Open toolNeed a custom tool or app for your business? See our web and software development and AI automation services.