Replace a Color in an Image

Sample a source color, choose its replacement, adjust tolerance, and export a local PNG copy.

Click to sampleTolerance controlLocal PNG
Choose a JPG, PNG, or WebP imageImages are processed locally. Maximum 24 megapixels.
Choose an image, then click the preview to sample a source color.

Replace one color without hiding detail

Load a PNG, JPG, or WebP, then click the preview to sample the source color. Start with a low tolerance and increase it only until the intended area is covered. A small tolerance targets similar pixels; a large tolerance can also change nearby skin tones, shadows, or background colors.

For a flat icon, turn off shading preservation for a uniform replacement. For fabric or a shaded object, leave it on and compare highlights and shadows. This is a color-distance adjustment, not an object-selection tool: matching colors elsewhere in the image may change too. The output is a PNG copy and the original stays untouched. Review transparent edges and zoom in before sharing. Use Image Cropper to isolate a region or Image Compressor to prepare the exported copy for a website.