Replace Color in Image
Pick any colour in an image and swap it for another — or make it transparent — with a tolerance slider, then download a lossless PNG.
Drag & drop an image here, or click to browse
No uploads. Your files stay on your device.
Tip: click anywhere on the preview below to pick the colour you want to replace.
How it works
Drop in a PNG, JPG or WebP, click the colour you want gone on the preview (or type its hex code), and every matching pixel is repainted with your replacement colour — or knocked out to full transparency. The whole thing runs on the Canvas API inside your own browser: the image is decoded, scanned pixel by pixel and re-drawn locally, so nothing is ever uploaded to a server.
The tolerance slider decides how close a pixel has to be to the target colour to count as a match. At 0% only exactly identical pixels change, which is perfect for flat logos and screenshots. Photos and anti-aliased edges need some headroom — try 10–25% and nudge it up until the fringe disappears, but stop before other parts of the picture start changing. The result is always exported as a lossless PNG so transparency survives.
Frequently asked questions
How do I replace a colour in an image for free?
Drop your image in, then click the colour you want to change directly on the preview (or type its hex code). Choose a replacement colour, nudge the tolerance until the whole area is covered, and hit Download PNG. It is free, needs no account, and the image never leaves your device — every pixel is processed by the Canvas API in your own browser.
Why do the edges keep a fringe of the old colour?
Anti-aliased edges are made of dozens of in-between shades, not the one colour you picked, so at 0% tolerance only the exact pixels change. Raise the tolerance slider — 10–25% usually swallows the fringe on a logo or screenshot — and stop as soon as unrelated parts of the picture start changing too.
Can I make a colour transparent instead of replacing it?
Yes. Tick "Make it transparent instead" and every matching pixel has its alpha set to zero; the checkerboard behind the preview shows you exactly what has been knocked out. The export is always a lossless PNG, so the transparency is preserved — a JPEG could not keep it.