Change Colors in a PNG
Target a precise color shade and replace it with an alternative choice. Runs entirely in your browser, so your data never leaves your device.
Drop a file here, or click to browse
Files never leave your device
Output
The result appears here as you type.
How to use Change Colors in a PNG
- 1. Add the PNG to recolor. Drop in the image containing the color shade you want to replace, such as a flat-colored logo, icon, or illustration.
- 2. Pick the Color to replace and New color. Use the color pickers to select the exact shade currently in the image and the shade you want it swapped to.
- 3. Adjust Color tolerance (%). Raise the tolerance to also catch pixels that are close to but not exactly the target color, such as anti-aliased edges; keep it low for an exact match only.
- 4. Download the recolored PNG. The tool repaints every matching pixel and gives you a new file, leaving all other colors in the image untouched.
When to use Change Colors in a PNG
Change Colors in a PNG finds a specific shade in an image and replaces it with a different one you choose. It is built for targeted recoloring, where you need one color swapped out precisely rather than the whole image shifted or filtered.
- Rebranding an icon set. Your product's accent color changed and you have a set of flat icon PNGs using the old hex value; swapping it for the new brand color across each file keeps them consistent.
- Adjusting a UI mockup variant. You need a dark-mode variant of a button graphic and want to swap its background fill from white to a dark gray without redrawing the shape.
- Fixing an off-brand export. A design tool exported a shape with a slightly wrong shade due to color profile mismatch, and using a small tolerance corrects every occurrence in one pass.
Examples
Recolor a shape
Input
shape.png + replace #ff0000 with #00ff00
Output
shape.png with every red pixel repainted green
About the Change Colors in a PNG tool
Change Colors in a PNG does its work locally, right in the browser. Target a precise color shade and replace it with an alternative choice. There is no upload step, no queue and no account, and your data never travels over the network.
It belongs to the PNG Tools collection on EditSafely, a set of 108 small, focused PNG utilities that share the same instant, private workspace.
You can shape the output with 3 settings, including Color to replace, New color and Color tolerance (%), and the result refreshes the moment you change one. The finished file is put together in browser memory and saved with the Download button, so it never touches a server on the way to your disk. A worked example further down the page shows exactly what the tool produces for a real input.
Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.
Frequently asked questions
Does Change Colors in a PNG cost anything?
Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.
Are my files uploaded to a server?
No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.
Which files does Change Colors in a PNG accept?
It accepts PNG images. There is no file size cap imposed by a server; very large files are limited only by your device's memory.
Do I need to sign up or install anything?
Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.
How do I save the output?
Click the Download button once the result is ready. The file is built in your browser's memory and handed straight to your downloads folder, without passing through a server.
Related tools
All PNG Tools →Replace PNG Colors with a Single Tone
Flatten your entire image color map into one solid silhouette tone.
Make PNG Transparent
Select a specific hex color value and convert it into zero-alpha transparency.
Invert PNG Colors
Shift all active image pixel records into their direct inverse color wheel opposites.