Image color changer: replace a color in an image

Swap one color in a picture for another. Click the color to change, choose its replacement, adjust the tolerance and edge softness while you watch the preview, and download a full-size PNG. Transparency is kept. Free, instant, and nothing is uploaded.

Your image never leaves this browser. No upload, no account, no watermark.

PNG, JPEG or WebP (AVIF where your browser decodes it) · up to 20 MB and 25 million pixels

How to change the color of an image

  1. Choose the image. Pick a PNG, JPEG or WebP up to 20 MB and 25 million pixels. AVIF works where your browser can decode it.
  2. Pick the color to replace. Click it on the original preview, or type its HEX code.
  3. Pick the new color and choose Solid for flat artwork or Shift to keep shading.
  4. Tune the match. Raise the tolerance until the whole area changes, and add edge softness to blend anti-aliased edges.
  5. Download the recolored image as a lossless PNG at the original size.

How the color replacement works

Every pixel is compared with the picked color. Pixels within the tolerance are replaced fully; pixels in the edge-softness band just beyond it are blended part of the way, which avoids hard fringes around smooth edges. Pixels further away are not touched. Alpha is never changed and fully transparent pixels are skipped, so a transparent PNG stays transparent.

This is a color match, not object selection: it changes every matching pixel anywhere in the image, not one object. It works best on logos, icons, flat illustrations and backgrounds with a clear single color. In photos, shadows and highlights make one object span many colors, so expect to adjust the tolerance and check the preview. The live preview is made from a copy at most 1,200 pixels wide or tall; the download is processed at full size.

Want a color gone instead of replaced? Use make a color transparent. To find the exact HEX code first, use the color code finder. Adjust the whole image with brightness or grayscale, or see all free image tools.

Questions about changing image colors

How do I change a color in an image?

Choose the image, click the color you want to change on the original preview (or type its HEX code), pick the new color and raise the tolerance until the whole area is covered in the preview. Then select Download recolored PNG.

What does the tolerance setting do?

Tolerance decides how close a pixel must be to the picked color to be replaced. It is the straight-line distance between the two colors in RGB, as a percentage of the largest possible distance, black to white. At 0% only the exact color changes; higher values also take in nearby shades.

What is the difference between Solid and Shift?

Solid paints every matched pixel with the new color, which suits flat logos and icons. Shift adds the difference between the new color and the picked color to each matched pixel, so light and dark shading inside the area is kept. Shift can clip in very light or very dark areas.

Is my image uploaded?

No. The image is decoded and recolored in your browser, on your device, and never reaches our server. The download is a fresh PNG export without the original file's metadata.