Color Replacer
Click a colour in an image and swap it for another, shading kept.
About this tool
Click the colour you want gone, pick its replacement, set how far a pixel may drift and still count. Each matching pixel is recoloured with its brightness preserved, so shadows and highlights survive the swap. Transparent-friendly PNG out.
Recolouring that keeps the light
The naive approach β paint every matching pixel the new flat colour β destroys shading, turning a red mug into a blue cardboard cut-out. This tool instead measures each pixel's brightness relative to the colour you clicked and applies the same ratio to the new colour, so a highlight on the old red becomes a highlight on the new blue. That's the difference between βrecolouredβ and βlooks recolouredβ. Tolerance sets the catchment: low values swap only exact matches (clean logos), higher values follow gradients and lighting variation (product photos), and the outer third of the range fades in so edges don't jag. It's honest about limits β on photos with subtle gradients the tolerance is a judgement call, and colours that share a hue with the background can't be separated by colour alone. Whole-image moods are photo filters; making a colour transparent is the background remover's colour key; the palette tool names the colours in the first place.
Frequently asked questions
Does it keep the shading?
Yes β pixels are recoloured by brightness ratio relative to the colour you clicked, so highlights and shadows carry over instead of flattening.
How do I pick the source colour?
Click it on the image β the swatch updates and the preview redraws. The top-left pixel is the default.
What does tolerance do?
How far from the picked colour a pixel can be and still change. Low for flat logos, higher for photographed objects with lighting variation. Edges soften over the last part of the range.
Can I swap two colours at once?
One at a time β download, then reload the result and pick the next colour. It's a few seconds per swap.