WEBP Color Replacer
Swap one colour for another across a WEBP image with a tolerance range and edge softening, watching the result update live as you adjust.
How to Replace a Colour in a WEBP Image
Upload an image, sample the colour you want changed, pick the replacement, then refine tolerance and softness until the result looks right.
Step 1
Upload your image
Drop a single file into the box or browse for it, and the original appears in the preview panel.
Step 2
Sample the target colour
Use Pick from image to click the exact shade you want changed, or type it into the colour field.
Step 3
Refine and download
Adjust tolerance and softness, choose WEBP as the output format, then download the recoloured image.
Why Colour Replacement Depends on Tolerance Rather Than Exact Matching
Replacing a colour sounds like a search and replace until you try it on a real photograph. No flat subject is ever one exact value: a blue shirt photographed indoors is hundreds of slightly different blues, because light falls unevenly, fabric folds, sensors add noise, and compression nudges every pixel. Matching a single exact value therefore changes a scattering of pixels and leaves the rest untouched, producing speckle rather than a clean swap.
Tolerance is the answer. Instead of asking whether a pixel equals the target, the tool asks how far from it the pixel sits, and changes every pixel inside the distance you allow. Set it low and only near identical pixels are caught, which is right for a flat logo or a solid interface element. Raise it and progressively more distant shades are included, which is what a photographed object needs. Watching the preview while you move the slider is the fastest way to find the point where the subject is covered and nothing else is.
Softness handles the second half of the problem, which is edges. A hard threshold produces a jagged boundary, because pixels just outside the tolerance keep their original colour while their immediate neighbours change, and the eye is very good at spotting that kind of stair stepping. Softness feathers the transition so partially matching pixels receive a partial change, blending the new colour into the old across the boundary. The result reads as a natural edge rather than a cut out shape.
Picking the colour you want is best done from the image itself rather than from memory. The eyedropper samples whatever you click, which sidesteps the common frustration of typing a hex value that looked right in a palette but does not match the shaded reality in the photograph. The replacement can be any colour at all, so a product shot can be shown in every colourway from a single photograph, or a brand change can be applied to a batch of assets without redrawing them.
Two safeguards stop the process from wasting your time. The original is held separately and never overwritten, so every adjustment is measured against the file you actually uploaded rather than against a previous attempt. A reset button returns all controls to their starting values, which makes it safe to push a slider too far just to see what happens. The result updates live, so there is no waiting for a render.
Export is where the format choice matters. The selector starts on PNG, so switch it to WEBP if you want the recoloured image in a compact web friendly format, with the quality slider governing the result. A maximum width field lets you cap the export size, with zero keeping the original dimensions exactly. Everything runs in your browser, so the image you are editing never leaves your device.
Sample From the Image
Use the eyedropper to click the exact shade you want changed instead of guessing a value from a palette.
Tolerance Not Exactness
A distance range catches the many slightly different shades a real photograph contains, not just one value.
Soft Feathered Edges
Softness blends partially matching pixels so the boundary reads as a natural edge instead of a jagged cut.
Live Side by Side
The result canvas updates as you move each slider, so you judge the change immediately against the original.
Export as WEBP
Choose PNG, JPEG or WEBP with a quality slider, and cap the width or keep the original size exactly.
Original Never Overwritten
The source image is held separately and a reset button restores every control, so experimenting costs nothing.
FAQ
Frequently Asked Questions
Real photographs contain hundreds of slightly different shades of the same colour, because of uneven light, texture and compression. Tolerance catches that whole range instead of only the pixels that match exactly.
Use the Pick from image button, then click anywhere on the original preview. Sampling the real pixel avoids the frustration of typing a value that looked right in a palette but does not match the photograph.
Softness feathers the boundary between changed and unchanged pixels, so pixels that only partly match receive a partial change. Without it, hard thresholds leave visible jagged edges around the recoloured area.
Yes. Flat artwork needs a low tolerance because every pixel of a colour is nearly identical, while photographed objects need a higher one to cover the natural variation in shading across the surface.
No. The source is held separately as the reference for every adjustment, and a reset button returns all controls to their starting values, so you can freely overshoot a slider to see what it does.
PNG, JPEG and WEBP, with PNG selected by default. Switch to WEBP for a compact web friendly file and set the quality slider to suit how and where the recoloured image will be used.
Yes. The maximum width field accepts zero to export at the original dimensions, or set a pixel cap when you want the recoloured image delivered smaller than the file you uploaded.
The tool changes one target colour per pass, which keeps the controls understandable. For several colours, download the result after each pass and run it through once more for the next target.
Yes. The result canvas is redrawn as you move the tolerance and softness sliders, so you can judge the change immediately without waiting for a render or pressing a button.
No. Sampling, matching and encoding all happen locally in your browser on your own device, so nothing is transferred or stored anywhere else, and no account is needed at any point.
