Image Color Replacer

Click a color in your image, choose a new one and watch it change - with the shading kept, in one area only or everywhere, even to transparent. Works on many images at once and nothing is uploaded. Need the exact code of a color first? Try the Image Color Picker.

Drop your images here or click to browse - you can also paste with Ctrl+V PNGJPGWEBPAVIFGIFBMPUp to 20 images
Try a sample:

Everything runs in your browser - your images are never uploaded.

How to replace a color in an image

  1. Add your image. Drop one or more PNG, JPG, WEBP, AVIF, GIF or BMP images, paste one from the clipboard, or try a sample. Nothing is uploaded.
  2. Pick the color to replace. Click the color in the preview or choose it from the colors found in the image.
  3. Choose the new color. Pick any color or Transparent, then choose Flat fill or Keep shading and adjust the tolerance.
  4. Download. Save as PNG, JPG or WEBP. Several images download together, three or more as one ZIP.

Got the new color from a brand guide? Paste its hex code into New color - or check that it reads well on your page with the Color Contrast Checker.

Which settings to use

Your imageHow to recolorWhereTolerance
Logo, icon, flat graphicFlat fillEverywhere5-20%
Product photo, clothingKeep shadingConnected area25-45%
Background or skyKeep shading or Flat fillConnected area20-40%
Pixel artFlat fill, Edge softness 0%Everywhere0%
White background to transparentTransparentConnected area10-20%

Unsure what a value does? Switch on Show matches - every pixel that will change lights up in pink while you move the slider.

Ideas and tips

  • One product, every color. Recolor a t-shirt once, save the changes as a preset, then load it with a different new color for each variant.
  • Match your brand. Swap the colors of an icon or illustration to your brand palette - build one with the AI Color Palette Generator or the Color Wheel.
  • Only one area. Two red cars and you only want one blue? Choose Connected area and click the car you want.
  • Cleaner edges. If a thin outline of the old color is left, raise Tolerance a little or Edge softness a little.
  • Smaller files. Photos save much smaller as WEBP or JPG. For the right size on social media, finish in the Image Resizer.

Frequently Asked Questions

Drop your image on the page and click the color you want to change - or click one of the swatches under Colors in this image. Choose the new color and the preview updates straight away.

Adjust Tolerance until the whole area is covered, then download. Need the exact color code first? The Image Color Picker shows it for any pixel.

Choose Keep shading under How to recolor. The new color takes over the hue while every pixel keeps its own lightness, so folds, shadows and highlights stay.

Flat fill paints one solid color instead, which suits logos, icons and flat graphics.

Yes. Set Where to Connected area and click the area in the preview. Only pixels of that color that touch the spot you clicked change - like a paint bucket - and the same color elsewhere in the image stays as it was.

Yes. Pick Transparent as the new color and save as PNG or WEBP to keep the transparency. JPG has no transparency, so the cleared areas are filled with the matte color you choose.

For photos with busy backgrounds the PNG Background Remover finds the subject for you.

Tolerance sets how close a color has to be to the one you picked to be replaced. At 0% only that exact color changes. Raise it to take in lighter and darker shades and anti-aliased edges.

Turn on Show matches to see exactly which pixels will change before you download.

Yes. When one color looks right, click Add another color and pick the next one. Every change is listed under Your changes, where you can switch it off, edit it or delete it, and undo works for all of them.

Yes. Add up to 20 images. The same color changes are applied to every image, you can click through them to check, and three or more download together as one ZIP.

You can also save your changes as a preset and load them again later - handy for product shots in several colors.

No. The color replacement runs entirely in your browser, so your images never leave your device - see our Privacy Policy. It also keeps working offline once the page has loaded.

Guides & Tutorials

All 14 guides
Comparison PNG vs JPG: Which Image Format Should You Actually Use? Read the guide Optimization How to Reduce Image File Size Without Losing Quality Read the guide Guide Complete ICO File Guide: Understanding, Opening & Converting Icon Files Read the guide