Image Color Counter
Count the unique colours in an image and list the ten most common ones.
Count image colours
Status: choose an image to begin
Unique colours: —
Dominant colour: —
Sampled pixels: —
How to use the Image Color Counter
- Choose a photo or graphic from your device.
- The tool samples the pixels and builds a full colour histogram.
- Read the unique colour count, the dominant shade and the top ten list.
Features
- Counts every unique RGB colour in the image
- Top ten colours with pixel counts and shares
- Dominant colour reported as a hex value
- Skips fully transparent pixels when counting
Advertisement
Frequently Asked Questions
Common questions about the free online image color counter.
Choose a file and the tool samples its pixels on a canvas, counting each unique red, green
and blue combination.
Large photos are downscaled to about 480 pixels on the long edge so the counting stays fast
in the browser.
It is the single colour that covers the most sampled pixels, reported as a hexadecimal value
with its share.
No. Pixels with an alpha value below eight are skipped so that transparent backgrounds do not
skew the histogram.
No. Everything is measured from the canvas in your browser and no data is transmitted.
An eight bit per channel image can hold up to 16.7 million colours, but a typical photo uses
far fewer distinct shades.
Yes. The top ten list gives hex values you can reuse in any design or CSS project.
Yes. The tool respects the alpha channel and simply leaves transparent pixels out of the
tally.
Yes. The counter is fully responsive and works in the browser on phones, tablets and
desktops.
Last updated: October 10, 2026