Skip to content

Image Color Counter

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

Quick Tool Overview

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.

What it does
Counts unique colours and their frequency
You give it
Any image
You get back
A total, a top-colours list and a histogram
Best for
Checking logos, planning palettes and print prep
Image Tools Free, unlimited use No sign-up Runs in your browser

About the Image Color Counter

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.

Key features of the Image Color Counter

Catches compression damage

A flat graphic with thousands of colours has been through JPEG, and the count makes that obvious immediately.

Exact pixel counts

Each of the top colours is listed with how many pixels use it and what share of the frame that is.

Spectrum histogram

Shows how the colours are distributed rather than only which are most common.

Export the list

Copy the colours as CSS, JSON or plain text for use elsewhere.

Explains what the number means

The page says what counts are normal for a logo, a screenshot and a photograph, so the figure is actionable.

How to use the Image Color Counter

  1. 1

    Load the image

    A logo, a screenshot or a photograph.

  2. 2

    Read the unique count

    A flat graphic should be in the tens; a photograph will be in the tens of thousands.

  3. 3

    Check the top colours

    Each is listed with its exact pixel count and share of the image.

  4. 4

    Export the list

    Copy the colours as CSS, JSON or a plain list.

Frequently asked questions

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.

Reviews of the Image Color Counter

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.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

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 review

More image tools