PNGmaker

Color editing guide

How to Replace Colors in a PNG Image (Free, No Photoshop)

Need to change a brand color across an illustration? Swap the background from blue to white? PNGmaker's Color Replacer scans every color in your PNG, groups similar ones, and lets you replace them with a color picker โ€” all in your browser.

How the Color Replacer works

The tool scans every pixel in your PNG and groups colors by similarity. The result is a palette sorted by frequency โ€” the most common colors appear first. Click any color in the palette, choose a replacement with the color picker, and apply. The change is instant and fully reversible before you download.

Use case: rebranding an icon or illustration

If you have an icon set or illustration in your old brand colors and need to update them to a new palette, the Color Replacer handles this without Photoshop. Works best on flat-color PNGs โ€” logos, icons, and vector-exported illustrations where colors are solid and well-defined.

  • Replace the primary brand color across the entire image in one click.
  • Queue multiple replacements and apply them all at once โ€” useful when a rebrand involves changing 3โ€“4 colors simultaneously.
  • Transparency is preserved throughout โ€” no alpha channel damage.

Use case: changing background color

If your image has a solid-color background (blue, grey, green, etc.), you can replace it directly with the Color Replacer โ€” faster than running the AI background remover when the background is a simple, uniform color. Select the background color from the palette, set the replacement to white, transparent, or any target color, and apply.

Use case: batch color variants

For A/B testing product variants or creating color options for an e-commerce listing, process the same image multiple times with different color replacements. Start with your source image, replace the product color with variant A, download โ€” then repeat for variants B and C. The whole process takes seconds per variant.

Limitations

The Color Replacer works best on flat-color illustrations, icons, and logos. There are two common cases where it struggles:

  • Photos and gradients. Photos contain thousands of unique color shades. Replacing a "blue sky" means many slightly-different blue pixels โ€” replacement will create visible banding where gradients used to be smooth.
  • Anti-aliasing artifacts. Edges between colors in a PNG often contain intermediate shades (anti-aliasing). These may be grouped with the main color or appear as leftover fringe after replacement. The Min. color % slider helps manage this.

Min. color % setting explained

The Min. color % slider hides colors that appear on less than X% of the total pixels in the image. Setting it to 1% filters out colors that cover less than 1% of the image โ€” this typically removes anti-aliasing artifacts and one-off shades from the palette, leaving only the main colors you actually want to replace.

If you are working on a logo with a white border and a few brand colors, setting Min. color % to 2โ€“5% gives you a clean palette of just the main colors without noise.

Try it with PNGmaker

Use the tool flow directly from this guide. The idea is simple: understand the workflow, then get to the result fast.

Related guides