Image Color Counter

Count how many unique colours are in an image and see the most common ones. Useful for checking palettes, GIF/PNG optimisation and flat-design assets.

Drop an image here or click to choose

Counted entirely in your browser. Nothing is uploaded.

Counts the exact unique RGBA colours across every pixel and lists the most frequent. Photos typically have tens of thousands of colours; logos, icons and flat illustrations have very few, which is what makes them compress so well as PNG or GIF.

Frequently asked questions

What does the unique colour count tell me?

It is the number of distinct RGBA colours used across the whole image. A flat logo or icon may use only a handful, while a photograph usually uses tens of thousands, because of all the subtle gradients and noise.

Why is this useful?

Few colours means an image compresses very well as PNG or GIF and can sometimes be reduced to an indexed palette. It also helps check that a flat-design asset really is flat, and that a brand palette is being followed.

Is my image uploaded?

No. The image is drawn to a canvas and counted entirely in your browser, so it never leaves your device.