Image / Local tool

Image Color Replacer

Replace pixels near a selected source color with a new color using an adjustable RGB tolerance, all locally.

● Processed locally in your browser

Choose an image to begin.

Original

Choose an image to see a preview here.

Processed result

Choose an image to see a preview here.

Practical guide

Swap one image color for another with a tolerance you control

This tool compares every pixel with the source color you pick and rewrites the pixels whose red, green and blue distance falls inside the tolerance you set. A small tolerance changes only near-exact matches, while a larger tolerance also catches compression noise and soft edges around the target area.

Steps

  1. Choose one JPEG, PNG or WebP image up to 8 megapixels.
  2. Set the source color to the exact value you want to remove.
  3. Set the replacement color and adjust the RGB tolerance.
  4. Compare the original and result, then download the PNG.

Settings and output

Source color
The color the tool searches for; read it from the image first if you are unsure.
Replacement color
The color written into every matched pixel, with the original alpha preserved.
Low tolerance (0–20)
Changes only near-exact matches; good for flat logos and screenshots.
High tolerance (60+)
Also catches shading and JPEG noise, but can spill into similar nearby colors.
How to useHow to use Image Color Replacer

What the tool actually does

Replace pixels near a selected source color with a new color using an adjustable RGB tolerance, all locally.

Reproducible example

Example input
Example file: product-photo.png (1600 × 1200)
replace #FFFFFF with #000000; tolerance = 30
Expected result

The browser recalculates pixels using this rule: Replace pixels near a selected source color with a new color using an adjustable RGB tolerance, all locally. After checking the preview, download recolored.png; the source file is not overwritten.

  1. 1

    Choose product-photo.png and confirm its dimensions and format first. JPEG, PNG or WebP; up to 30 MB and 8 megapixels.

  2. 2

    Use the tool's actual settings (replace #FFFFFF with #000000; tolerance = 30). The processor performs only this operation: Replace pixels near a selected source color with a new color using an adjustable RGB tolerance, all locally.

  3. 3

    Compare source and result around the affected areas, transparent edges and transitions before downloading recolored.png.