Swap one color in an image

Brand color changed? Swap #ff0000 to #00aa44 across a whole image without repainting.

Tools used in this guide

The job

Screenshots, icons, and flat art often need one color changed — a logo's old blue for the new one. Tolerance catches near-matches and feathering softens the edge so anti-aliased text doesn't end up cut out.

From, to, tolerance

Enter the target and replacement as hex, set tolerance 0–255 (how close a pixel must be to count) and feather 0–1 (alpha blend at the boundary). The preview shows the swap and how many pixels changed.

Worked example

Red #ff0000 → green #00aa44 at tolerance 40: solid red regions flip cleanly, a red-on-white JPEG's compressed fringe needs tolerance ~80 plus a little feather to take the edge off.

Where it stops

RGB distance is dumb — it can't tell 'red dress' from 'red face', and gradients straddle the cutoff. For photographic subjects use a mask-capable editor; for flat art and UI shots this is the fast lane.