EIT easy-image-tools / Decrease Color Count PNG

Decrease Color Count PNG

Median-cut engine as a quick way to drop to 2–256 colors. Presets marked (extreme/strong/balanced/light) match the classic compression levels.

Nothing found — try another word.

01

Decrease Color Count PNG

Nothing found — try another word.

Nothing found — try another word.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

Decrease color count strips a picture down to a small palette using a median-cut algorithm: the pixels are repeatedly split into buckets along their widest channel until the requested number of buckets exists, each bucket collapses to its average color, and every pixel is repainted with whichever of those colors sits closest. Everything runs in your browser, and fully transparent pixels are passed through untouched instead of being counted as black.

  • Runs entirely in your browser: no upload, no server, no signup.
  • Preset levels from 2 to 256 colors; the palette builder itself caps at 64 buckets.
  • Clean flat patches — for photographs use the dithering tool to break up the banding.
  • Fully transparent pixels pass through untouched.
  • Fewer colors compress much smaller as a PNG at the same dimensions.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the image into the source area, or pick a file from your device.
  2. Pick Max colors from the preset list; 16 (extreme) is the starting point.
  3. Lower values give a stronger poster effect, higher ones keep more of the original shading.
  4. Download the result from the Download button.

Questions

What do the extreme, strong, balanced and light presets mean?

They are the classic loss levels - 16, 44, 96 and 192 colors - named for how far the reduction bites. They are labels on the same engine, not different algorithms.

The list goes up to 256. Will it really give me 256 colors?

The palette builder caps itself at 64 buckets, so 96, 128, 192 and 256 all produce exactly the same result as 64. For a smaller, fully reachable ceiling, use the quantize tool or name the colors yourself in the custom palette tool.

Which is better, this or the dithering tool?

This one gives clean flat patches, which suits icons and flat art. When the source is a photograph with smooth gradients, the dithering tool breaks the banding up by spreading the rounding error into neighbouring pixels.

Does it resize the file?

It does not touch the dimensions, but a picture with fewer distinct colors compresses far smaller as a PNG, so the Download button usually shows a much lighter file at the same size.

Related tools