Count Unique Colors in Image

Count Unique Colors in Image

Local Processing

Estimate or precisely calculate the total number of unique color values present across an image canvas.

How It Works & Processing Standards

Estimate or precisely calculate the total number of unique color values present across an image canvas.

Tool processing runs in your browser. If you create a calculator or conversion share link, its values are included in the URL. See the privacy policy for account, analytics and advertising data.

Current Limits

  • Desktop max file size: 40MB
  • Mobile max file size: 20MB

Find out how many colors a logo or icon uses, or whether it could be reduced to GIF or PNG-8. Large photos are estimated from a sample of pixels.

Photos normally show tens of thousands of colors because of smooth gradients.

What You Can Do

Distinct colors
Counts different colors.
Main colors
The most used colors as HEX.

How to Use Count Unique Colors in Image

  1. 1
    Select an imagePick the image.
  2. 2
    Read the resultSee the count and main colors.

Examples

Simple logo
Input: A three-color logo PNG
Result: A low distinct count with three main colors listed

Common Use Cases

  • Checking a logo’s color count
  • Deciding whether an image can use a small palette

Frequently Asked Questions (FAQ)

A three-color logo shows hundreds of colors.

Anti-aliasing on edges creates in-between shades. The main color list shows the colors really used.

Are my photos uploaded?

No. Images are processed only inside this browser and never transmitted.

Have feedback or ideas for this tool? Suggest & Inquire →