Published October 24, 2026
PNGs are the format of choice for logos, icons, stickers and graphics, mostly because they can have a transparent background. That's also what makes recoloring them tricky. Plenty of quick fixes change the color but wreck the transparency, or leave a thin halo of the old color around every edge. Here's how to change the color of a PNG cleanly, for free, without design software.
Our Color Replacer recolors PNGs directly in your browser. The file never leaves your device.
#1a1a1a or similar, and a guess that's slightly off can miss most of it.#e11d48) into the color picker.Every pixel in a PNG has four values: red, green, blue, and alpha (how opaque it is). Recoloring only changes the first three. Alpha is never touched, so transparent areas stay transparent and semi-transparent areas stay exactly as see-through as before.
That matters most at the edges. A smooth, anti-aliased edge on a logo is a row of pixels that fade from fully opaque to fully transparent. In a transparent PNG those fading pixels are still the logo's own color, just at partial opacity, so they recolor along with the rest and the edge stays smooth. You don't need a high tolerance for this. The default is usually enough.
If the graphic sits on a solid background instead of transparency (a white square around the logo, which is common in PNGs exported from slides or screenshots), the edge pixels are a blend of the logo color and the background. Change the logo's color at a low tolerance and those blended pixels keep a faint ring of the old color.
Fix it by raising the tolerance a step at a time until the ring disappears, and stop before the background starts changing too. If you actually want the background gone, use the Background Remover first to make it transparent, then recolor.
Recoloring a logo to match a new brand palette, or making a white version for a dark website header, is the most common reason to change a PNG's color. A few things to know:
If you already use an image editor, there are two standard approaches. To turn an entire single-color graphic into a new color, lock the layer's transparent pixels and fill it with the new color; in Photoshop, a Color Overlay layer style does the same without changing the original. To shift colors while keeping shading, use Hue/Saturation and adjust the hue slider. Both are more work than a one-click recolor, but they give you full control when an image needs hand-painted masks.
Yes. The output keeps the original format and dimensions. Only the color of the matched pixels changes.
That's background removal rather than recoloring. Use the Background Remover, which makes a chosen color transparent instead of swapping it for another one.
Something else in the image is close to the color you picked. Lower the tolerance, or turn on Only the area I click so only the region connected to your click is recolored.
Yes. Run the result through our Favicon Generator for website icons, or the Image Crop Tool's Apple App Icon preset for iOS apps.