Swap PNG Colors

Swap two colors in a PNG image with each other.

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

    Pick the two colors to swap.

  3. 3

    Adjust tolerance to match similar shades.

  4. 4

    Click Download to save.

Example

Before640 × 427

The example input

After640 × 427

The example result
Swap PNG Colors on a sample photo, with the default settings.

Frequently asked questions

What is tolerance?

Higher tolerance matches colors that are similar but not identical to the target color.

About this tool

Swap PNG Colors finds pixels matching Color A and replaces them with Color B, and vice versa. Use the tolerance slider to match similar shades. All processing runs locally in your browser. Your image is never uploaded to a server.