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
Upload a PNG.
- 2
Enter the colors to keep.
- 3
Adjust tolerance.
- 4
Click Download to save.
Example
Before640 × 427

After640 × 427

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.
Related tools
Generate HSL MaskMask pixels within a specific HSL range.Create Popular Color MaskMask pixels near the most common color.Generate Light Pixel MaskMask showing only light pixels.Create Unique Color MaskKeep the rare colors that stand out from the rest.Generate Dark Pixel MaskMask showing only dark pixels.Create Outlier Color MaskMask pixels far from the average color.Show Grayscale PixelsKeep only grayscale pixels visible.Sort PNG PixelsSort pixels by color property.