# Replace a Colour in an Image

URL: https://www.image-color-changer.com/replace-color-in-image
Replace one colour in an image with another, online and free. Pick from and to colours, tune tolerance, and download the recoloured file.

### How one colour is swapped for another
Surgical, not global: Only pixels matching the colour you name are changed. A logo with three brand colours can have one of them updated while the other two are left untouched, which is what makes this the right tool for a brand refresh.

Tolerance in Lab space: Matching happens in Lab colour space, which measures difference the way the eye perceives it rather than by raw RGB numbers. Tolerance sets how far a pixel can sit from your chosen colour and still count as a match.

Flat graphics versus photographs: Flat artwork swaps cleanly because its colours really are uniform. A photograph will not, because the same red shirt spans hundreds of values under different light. Widen the tolerance for photos and expect a patchier result.

Handling the edges: Anti-aliased edges are a blend of the shape and whatever sits behind it, so they are never the exact colour you picked. A moderate tolerance catches most of them. If a rim of the old colour survives, raise it slightly rather than running the tool twice.

Transparency is untouched: The alpha channel is not part of the match, so transparent areas stay transparent and the silhouette of a cut-out graphic is unchanged.

### How to replace a colour in an image
1. Upload your image — Drop in a PNG, JPG, WebP, or SVG, or click to browse. Flat-colour artwork gives the cleanest swaps.
2. Set From and To — From starts on the main colour of your image. To change it, click the eyedropper and then the colour in your picture, or pick one of the colours listed under it. Choose the colour to put in its place, then raise tolerance until the swap covers the whole area without spilling into neighbouring colours.
3. Download — Take a free preview, or download the full-resolution file with one credit.

### Where swapping a colour helps
- Brand refreshes: Update one colour across a logo and its assets without reopening the source files.
- Theme variants: Produce a second colourway of an icon or illustration to match a different page theme.
- Product colourways: Show the same flat product illustration in several colours from one master file.
- Icon sets: Recolour a whole icon family to a new accent colour one file at a time.

### Frequently asked questions
Q: Does it replace every shade of the colour?
A: It replaces everything within the tolerance you set. For a clear colour like red or blue, its lighter and darker shades count as the same colour, so a shaded object changes as a whole once the tolerance is high enough. White, grey and black are matched exactly, so replacing white leaves black alone. Edges are blended rather than cut, so no rim of the old colour is left.

Q: Why did only part of the area change?
A: The rest sits outside the tolerance range. This is common in photographs, where lighting spreads what looks like one colour across many values. Raise the tolerance and try again.

Q: Can I swap several colours at once?
A: Not in one pass. Run the tool again on the result for each additional colour, or use the Change Colour Tone tool if you want everything on one hue.

Q: Does it work on photographs?
A: It works, but expect a patchier result than on flat artwork. Photographic colour varies continuously, so no single tolerance captures a whole object cleanly.

Q: Does it keep transparency?
A: Yes. Alpha is not part of the match, so transparent areas stay transparent.

Q: Will the replaced colour keep the original shading?
A: Yes. The swap preserves each pixel's brightness, so a shaded red ball becomes a shaded blue ball rather than a flat blue disc. That is why it holds up on product photos and not only on flat graphics.

All tools: https://www.image-color-changer.com/llms.txt
