happytails.ai
English

Replace image color

Replace one color in an image while keeping transparency. Adjust tolerance and download the edited PNG and selection mask.

No files selected

Accepted files: .png,.jpg,.jpeg,.webp. Choose one file. Up to 20 MiB in total.

Your result

Report a problem or share an idea.

How to use Replace image color
  1. Choose a still PNG, JPEG or WebP image.
  2. Select the source color, replacement color and tolerance.
  3. Run the tool, compare the original and result, and download the PNG, selection mask or report.

Useful next steps

See exactly what changed

The selection mask is white where a pixel matched and black everywhere else. Tolerance uses RGB distance. It is a hard threshold, not a feathered selection.

Keep transparency

The replacement preserves the decoded alpha channel. Fully transparent pixels are skipped unless you include them. Browser decoding can change hidden RGB values and color profiles; original metadata is not copied.