Replace a Color in an Image
Swap one color for another across an image — pick it in the picture, choose a replacement, and tune the tolerance.
रंग चुनने के लिए इमेज ड्रॉप करें
ड्रैग & ड्रॉप करें, पेस्ट करें या फ़ाइल चुनें
PNG · JPG · WebP — रंग आपके डिवाइस पर पढ़े जाते हैं
Replace a Color in an Image
Replacing a color swaps every matching pixel for a new one while leaving the rest of the image alone. It's the quick way to change a background fill, recolor a flat logo, switch a product variant, or clean up a stray color. You set the target by clicking the color directly in the image — the most accurate way to grab the exact shade — or by choosing it manually.
The tolerance slider controls how forgiving the match is. A low tolerance changes only pixels that are nearly identical to the target; a higher tolerance also catches close shades, which matters for photos and gradients where a single color spans many subtle values. The tool feathers the edge of the match so the swap blends in instead of leaving a hard ring.
The change previews live, so you can balance tolerance against accuracy by eye before exporting. Output is saved at full resolution as PNG, JPG, or WebP. For solid-fill graphics the result is clean; on detailed photographs, replacing a color is approximate by nature, so use a moderate tolerance and check the edges.
How to replace a color in an image
- Add your image — drag & drop, paste, or choose a file.
- Set the target — click the color in the image, or pick it manually.
- Choose the new color — and raise tolerance to include similar shades.
- Download — save the edited image as PNG, JPG, or WebP.
Tip: click the image to nail the target shade
Picking the target by clicking the actual pixel is far more reliable than guessing a hex code — a color that looks like one flat tone is often several near-identical shades, and clicking grabs the real one. Then nudge tolerance up until the whole region is covered.
More color tools
Color picker
Hover and click to read hex, RGB, and HSL from any pixel.
Color toolPalette extractor
Pull the dominant colors and export CSS, JSON, or a PNG sheet.
Color toolDominant color
Find the single main color — plus the true average.
Color toolColor histogram
See the RGB and luminance distribution of a photo.
Color toolColorblind simulator
Preview protanopia, deuteranopia, and tritanopia.
Color toolRecolor image
Shift hue, saturation, and lightness across the whole image.
अक्सर पूछे जाने वाले सवाल
How do I replace one color with another in an image?
Click the color you want to change in the image (or pick it manually), choose the replacement color, set a tolerance, and the matching pixels update live. Then download the result.
What does tolerance do?
It sets how close a pixel must be to the target to be replaced. Low tolerance changes only near-identical pixels; higher tolerance also catches similar shades.
Why are some edges not fully replaced?
On photos, a color spans many subtle shades and anti-aliased edges blend into neighbours. Raise the tolerance to catch more, and the feathered edge keeps the swap from looking harsh.
What formats can I export?
PNG, JPG, or WebP at the original resolution. PNG keeps transparency.
Where is my image processed?
It happens in your browser, so the result is created on your own device. How any data associated with the tool is handled is described in our privacy policy.
और इमेज टूल्स
Crop an image
Crop to any ratio or an exact pixel size.
Image toolResize an image
Change dimensions to exact pixels or presets.
Image toolCompress an image
Shrink file size without visible quality loss.
Image toolRotate an image
Rotate 90°, flip, or straighten a tilted photo.
Image toolConvert image format
PNG, JPG and WebP — convert any to any.