- Home
- Count the Colours in an Image
Count the Colours in an Image
Find how many distinct colour groups an image contains, and see the most common ones with their hex codes.
Free to edit and preview · HD download with a free account
Drop an image
PNG, JPG, WebP or SVG — up to 20 MB
Runs entirely in your browser. Your image is never uploaded.
What counting colours actually tells you
Groups, not raw values
A 24-bit image can hold sixteen million values and a photograph routinely uses tens of thousands, nearly all imperceptibly different. The count here is of perceptually distinct groups, which is the number that actually means something.
Why the count has consequences
Screen printing needs one screen per colour. Embroidery needs one thread per colour. Vinyl needs one cut per colour. Each additional colour is a real cost, so knowing the count before you send artwork tells you what a job will actually price at.
It predicts PNG file size
PNG compresses by finding repetition, so an image with few distinct colours compresses far better than one with many. A surprisingly high count on what should be flat artwork usually means JPEG compression or a gradient has crept in.
A high count on flat art is a warning
A logo that should have three colours and reports forty has been through a lossy format. The extra values are compression noise around the edges, and they will show up as fringing when you try to recolour or key it.
Reducing the count deliberately
If the number is too high for what you need, posterize or reduce the colours rather than accepting the noise. Both give you control over which colours survive instead of leaving it to the encoder.
How to count the colours in an image
Upload your image
Drop in the image you want to analyse.
Read the count
The number of distinct colour groups appears above the swatches, with the most common ones shown.
Copy what you need
Click a swatch to copy one hex, or copy them all.
Count the Colours in an Image — in the editor
The real editor, start to finish — no signup needed to try it yourself.
Free to edit and preview · HD download with a free account
When the count matters
Print quoting
Know the colour count before sending artwork to a screen printer.
Embroidery
Check how many thread colours a design will actually need.
File size diagnosis
Understand why a PNG that should be small is not.
Spotting compression damage
Catch JPEG artefacts in artwork that should be flat colour.
Or just ask
Describe the edit in your own words
Type what you want changed and the assistant does it on the canvas — each step lands as a layer you can reopen, so nothing it does is baked in.
No edits yet.
Frequently Asked Questions
Related Tools
Guides worth reading
Best Free Background Remover in 2026: 5 Tools Compared Honestly
remove.bg, Canva, Adobe Express, Photopea and Image Color Changer compared on what is actually free, output quality, privacy and price per image — including which one to use for logos.
Best Free Logo Color Changer (2026): 5 Options Compared
Which tool changes a logo's colour best — Image Color Changer, Canva, Figma, Photopea or onlinepngtools — compared on PNG vs SVG support, edge quality, transparency and price.
How to Make a Logo White: 5 Free Ways (2026)
Five ways to turn a logo white for dark backgrounds — online, in Canva, Figma, Photoshop and Photopea — plus how to put a logo on a white background instead, which is a different job.
Count your image colours
Upload an image and see how many distinct colours it holds.