Image Perspective Tool
Drag the four corners to correct keystone or skew.
Count the unique colours in an image and list the top ones.
Drop an image here, or click to choose one
JPEG, PNG, WebP, GIF or SVG · processed on your device, never uploaded
The Image Color Counter reports how many distinct colours an image contains and lists the most frequent with exact pixel counts. The most useful thing it catches is a flat graphic that has been through JPEG compression — a four-colour logo reporting forty thousand colours is a re-export waiting to happen.
Knowing how many distinct colours an image contains answers several practical questions at once: whether a PNG will compress well, whether a graphic is print-ready as spot colours, and whether a supposedly flat design has picked up compression noise.
That last one is the most useful. A logo exported as JPEG can easily contain forty thousand distinct colours where it should contain four, and the count makes that immediately obvious. Alongside the total, the most frequent colours are listed with exact pixel counts and their share of the frame, and a histogram shows how the colours are distributed across the spectrum.
A flat graphic with thousands of colours has been through JPEG, and the count makes that obvious immediately.
Each of the top colours is listed with how many pixels use it and what share of the frame that is.
Shows how the colours are distributed rather than only which are most common.
Copy the colours as CSS, JSON or plain text for use elsewhere.
The page says what counts are normal for a logo, a screenshot and a photograph, so the figure is actionable.
A logo, a screenshot or a photograph.
A flat graphic should be in the tens; a photograph will be in the tens of thousands.
Each is listed with its exact pixel count and share of the image.
Copy the colours as CSS, JSON or a plain list.
As many as it was designed with, usually two to six. If a supposedly flat logo reports thousands, it has been through JPEG compression and should be re-exported from the source as PNG or SVG.
Because a photograph varies continuously. A million-pixel photo commonly contains several hundred thousand distinct colours, and that is normal rather than a problem.
For PNG and GIF, strongly yes — they store colours in a palette. For JPEG it barely matters, since JPEG compresses frequencies rather than colours.
Yes, exactly by RGB value. Two colours differing by one in a single channel count as two, which is precisely why a compressed flat graphic reports such a high number.
What people who use the Image Color Counter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Image Color Counter. It takes half a minute and no account.
Write the first reviewDrag the four corners to correct keystone or skew.
Build a profile or company banner at the right size.
Give a photo a warm, aged sepia tone.
Repeat an image into a seamless tiled pattern.
Build a 1280 by 720 thumbnail with big readable text.
Size an image in centimetres, millimetres or inches for print.
Generate a unique geometric avatar from any string.
Convert between PNG, JPEG and WebP right in your browser.