Create Multi-Color Mask

Mask pixels matching any of several specified colors.

Drop an image here

PNG, JPG, WebP, GIF or BMP. You can also paste an image.

No result yet

Options

How to use

  1. 1

    Upload a PNG.

  2. 2

    Enter the colors to keep.

  3. 3

    Adjust tolerance.

  4. 4

    Click Download to save.

Example

Before640 × 427

The example input

After640 × 427

The example result
Create Multi-Color Mask on a sample photo, with the default settings.

Frequently asked questions

Can I enter more than 3 colors?

Yes. Add as many as you need, separated by commas.

About this tool

Create Multi-Color Mask keeps only pixels that match any of the colors in your list (within tolerance), making all other pixels transparent. Enter colors as comma-separated hex values. All processing runs locally in your browser. Your image is never uploaded to a server.