Recolor Image
Change one color in a picture to another and keep its shading, or remove a color from an image to make it transparent. You can also keep only one color and turn the rest grey, and change several colors at once.
- 1Choose an image
- 2Click a color
- 3Download
1Choose an image
or drop an image here, or paste one with Ctrl/Cmd+V
Your file stays in your browser; it is not uploaded. No cookies unless you accept: what we count.
2Pick and change colors
Before and after
The example image, changed with this tool. Middle: the film strip's blue frames replaced with green at tolerance 18, with their lighter and darker parts kept (the small blue dot is close enough to change too). Right: only the fox's orange kept at tolerance 12, everything else grey.



How to change the color of something in a picture
- Click the color you want to change in the picture, pick it from the list of colors found in the image, or type its hex code.
- Choose what happens to it: Replace it with a new color, Make transparent to remove it, or Keep only this to turn everything else grey.
- Raise Tolerance until the pink highlight covers the whole object. Its shadows and highlights are darker and lighter versions of the color and need catching too.
- Raise Soft edge if the border looks cut out, and leave Keep shading and texture on: it moves every matched pixel by the same step in CIELAB, so folds and shadows survive in the new color instead of looking painted on.
- Press Add another color for more changes, then Download. Use PNG if you made anything transparent; JPG has no transparency.
Tolerance is the largest color difference that still counts as a match, measured with CIEDE2000 (Delta E 2000). The tool's implementation matches all 34 test pairs in Sharma's published CIEDE2000 test data to within 0.00005. Some pairs worked out with that same code:
| Color 1 | Color 2 | Delta E 2000 |
|---|---|---|
| White #FFFFFF | Off-white #FAFAFA | 1.0 |
| White #FFFFFF | Light grey #F0F0F0 | 3.0 |
| White #FFFFFF | Grey #E0E0E0 | 6.5 |
| Red #FF0000 | Slightly darker red #E60000 | 5.4 |
| Red #FF0000 | Darker red #CC0000 | 11.0 |
| Red #FF0000 | Dark red #990000 | 21.1 |
| Red #FF0000 | Orange #FF8000 | 21.2 |
| Purple #5337E1 | Green #1FA971 | 55.5 |
Dark red and orange are almost the same distance from pure red, so a tolerance big enough to catch a red object's deep shadows starts to catch nearby oranges. When that happens, lower the tolerance and add a second change for the shadows. The tool starts at a tolerance of 20 with a soft edge of 8: raise it for photos and JPGs, lower it for flat graphics.
This tool works by color. If the same color also appears somewhere you want to keep, select the object in a photo editor instead: Adobe's Photoshop help (last updated 23 February 2026, read 27 October 2026) has you select it with Quick Selection, add a Hue/Saturation adjustment layer, and move the Hue and Saturation sliders.
What each setting does
- Soft edge fades the change out over the next few steps past the tolerance, so borders and anti-aliased edges blend instead of looking cut out.
- Make transparent sets the matched pixels' alpha to zero (partly transparent inside the soft edge). Save as PNG to keep the transparency.
- Keep only this leaves the matched color as it is and turns every other pixel into a grey of the same lightness. Add several Keep changes to keep more than one color.
- Every change matches against the original colors, so one change never catches the result of another.
- Invert colors turns each red, green and blue value into 255 minus that value across the whole picture, after any color changes. Alpha is not touched.
FAQ
Can I get a color palette from an image?
Yes. Choose an image and the main colors appear under "Colors in this image", largest first, up to 10. Open "Save this palette" to copy the HEX list or CSS variables, or download a PNG of swatches or a GIMP palette (.gpl), which Inkscape reads too. Very similar shades are merged into one, and the HEX codes are averages of those shades, so a single pixel may differ slightly.
Report a problem or suggest a feature