Back to Free Tools
FREE TOOLS
Replace image color
Replace matching RGB colors within a chosen distance while preserving alpha.
PNG, JPEG, WebP
PNG
Browser only
Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.
This tool needs JavaScript. If it does not load, refresh the page and try again.
How to use this tool
- Choose supported local images and set the controls for the operation.
- Select Process image, inspect the preview or report, and download the result.
- Cancel stops the worker. Reset clears selected files and restores the settings.
Examples
Replace exact #ffffff pixels with #000000 while retaining alpha.
Limitations
- PNG, JPEG and static WebP only. 20 MiB and 24 megapixels per input, 16,384 pixels per side; output at most 24 megapixels and 64 MiB. Multi-image input totals at most 100 MiB. Processing runs in a cancellable worker with a 120-second deadline. Rendered PNG outputs use stored pixel orientation and browser-decoded colors, with no source EXIF/XMP/text copied.
- Tolerance is Euclidean distance in encoded RGB, from 0 to 442. Fully transparent pixels are ignored; alpha is retained. This is not a perceptual color-distance metric.
Related tools
No items found.