EIT easy-image-tools / Unique color mask

Unique color mask

Selects colors that occur no more than the given number of times — rare and one-off pixels.

Nothing found — try another word.

01

Unique color mask

Nothing found — try another word.

Opacity
Rarity

Nothing found — try another word.

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

Unique color mask counts how often each color occurs in an image and marks the ones that do not repeat more than the number you set — the odd ones out: a compression artifact, a stray dot, a hot pixel, or a line left behind by an editing tool. Raising the rarity limit marks more pixels, which is how you look for artifacts that repeat a few times rather than once. The counting happens in your browser, so the image is never uploaded.

  • Runs entirely in your browser: no upload, no server, no signup.
  • Rarity limit 1 marks colors that occur exactly once.
  • Two views: a black and white mask, or a highlight over the original picture.
  • Most useful on flat graphics, logos and icons; photos are full of rare shades.
  • Follow with despeckle to remove the marked pixels.
  • 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. Choose the view: a black and white mask, or a highlight over the original picture.
  3. Set the rarity limit: 1 marks colors that occur once, higher values catch rare colors that repeat a few times.
  4. Set the highlight color and opacity, then download the mask.

Questions

What counts as a unique color?

A color that appears no more often than the rarity limit you set. With the limit at 1 the tool marks the colors that occur exactly once, which in a compressed image are usually artifacts.

Why does a photo show a lot of marked pixels?

Photographs contain thousands of slightly different shades, and in a large picture many of them occur only a few times. That is expected for photos, and the tool is most useful on flat graphics, logos and icons.

What can I do with the mask?

Use it to find the pixels that break an otherwise clean image, then remove them with the despeckle tool from this site, or repaint them with the color extract tool.

Is the image uploaded?

No. The color count and the mask are computed in your browser tab, so the file stays on your device and nothing is stored.

Related tools