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.
Describe the edit — the AI assistant does it on the canvas.
2 free credits · No signup · ~10 seconds
Drop an image
PNG, JPG, WebP or SVG — up to 30 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.
2 free credits · No signup · ~10 seconds
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.
Used by designers, indie devs & students at
What people use it for
The jobs the editor was built around — and what it does differently on each one.
Colourways you can revisit
Every edit is a layer, not a bake. When the brand shifts, reopen the file and change the colour rather than rebuilding the variant from the original.
Cutouts with awkward edges
AI background removal that keeps hair, foliage and soft shadows instead of stamping a hard outline around them. The output is a transparent PNG, ready to place.
No export, edit, re-import loop
The Framer plugin runs on the canvas you are already working in, so a recolour or a cutout does not mean a round trip through a second application.
Ten options in the time one used to take
Recolour once and step through the alternatives, so a client review can look at the whole range instead of the one version there was time to make.
Brand colours matched exactly
Pick a colour straight off an existing asset and get the hex, rather than eyeballing it against a screenshot and hoping it is close enough.
Free to preview, priced per export
Previewing is unlimited and costs nothing. A credit is spent only when you download a full-resolution file, so exploring an idea is never the expensive part.
Frequently Asked Questions
Related Tools
Guides worth reading
How to Get Your Website Ready for Google WebMCP
A step-by-step guide to exposing WebMCP tools on your site — the imperative and declarative APIs, how to test them, and the real security downsides.
The Best Free Design Tools for Indie Developers
A working set of free design tools for developers shipping solo — UI, icons, fonts, colour, illustration and asset prep — with the real free-tier limits.
How to Batch Recolor Images (Without Opening Each One)
Three honest ways to recolor a whole folder at once: a browser batch tool, a Photoshop action, and ImageMagick — plus which operations survive batching.
Count your image colours
Upload an image and see how many distinct colours it holds.