Change PNG Color — Swap Any Shade Online

Change the color of a PNG in one click — swap a shade, recolor a logo or repaint artwork, with transparency always preserved.

Drop your image here

or click to browse — you can also paste with Ctrl+V

JPG · PNG · WebP · GIF · BMP — up to 30 MB

How to change the color of a PNG

  1. Drop your PNG into the box above, click to browse, or paste it with Ctrl+V.
  2. Click the shade you want to change — the eyedropper grabs its exact color. Choose a new color and adjust the tolerance until the preview looks right.
  3. Press Download PNG to save the recolored file at full size, transparency untouched.

Whether you search for how to change the color of a PNG or how to change the colour of a PNG (British spelling), the answer is the same three steps. You can also type an exact hex code instead of picking a shade — handy when a brand guide says #1D4ED8 and nothing else will do.

Have a JPG instead? JPG files carry no transparency, but the tool accepts them all the same: use Remove Color to erase a flat background, and the download comes out as a PNG with real transparency where the old background used to be.

Change a PNG's color four different ways

Why change PNG colors here instead of redrawing

When a logo, icon or sprite is perfect except for its palette, redrawing it in a design tool just to try a different shade wastes time. A PNG color changer reuses the artwork you already have: pick the old color, choose the new one, and every matching pixel switches while shapes, outlines and shadows stay pixel-identical. Because each edit is recomputed from your original file, you can experiment with a dozen color combinations in a minute and keep the one you like — the original never degrades, no matter how many times you change it.

Matches for flat colors, soft edges for anti-aliased ones

Real artwork rarely uses one perfectly uniform color, so the tolerance slider controls how far a pixel may drift from your pick and still be changed. At low values only exact matches switch — ideal for flat vector exports. Raise it a little and the anti-aliased fringe around letters and shapes follows along, blended smoothly so edges never turn jagged. Transparent pixels are skipped entirely, which is why see-through backgrounds never fill with the new color.

Turn a black PNG white (and white to black)

The two most common color swaps get one-click buttons. Load your file, stay on Replace Color, and press Black → White or White → Black — every matching pixel flips instantly, no eyedropper needed. This is the fastest way to restyle a dark icon for a light page or the reverse, and the Fill tab's preset swatches (white, black, blue, gold) plus its optional gradient fill cover everything in between. If you would rather flip all colors for a true negative, that is what the Invert tab and our dedicated logo color inverter are for; for shaded black-and-white art instead of a flat swap, use the grayscale converter.

Change the color of a logo without redrawing it

A logo recolor is the classic use for this page. The changer rewrites pixel values only — shapes, outlines, corners and anti-aliasing stay exactly as the designer drew them, which is what makes it safe for brand assets. And because everything runs locally in your browser, your logo file never touches a server: nothing to leak, nothing to upload, no account that remembers it. Paste the file, click the shade to retire, pick the new brand color, download — the whole cycle takes under a minute.

More free image tools

This page shares its engine with our PNG color editor, where you will find step-by-step tips for removing backgrounds and clean recoloring. Changing the colors of a dark-mode logo wholesale is the job of the logo inverter, and flat black-and-white conversions belong to the grayscale tool. Negato also offers a free PNG color inverter, a flip and rotate tool, a black and white photo converter, plus image compression and resizing — all free, watermark-free, and processed entirely in your browser.

Frequently asked questions

How do I change the color of a PNG?

Drop your PNG into the tool, stay on the Replace Color tab and click the shade you want to change — the eyedropper grabs its exact value. Pick a new color, adjust the tolerance if needed, then download. The whole change takes a few seconds and runs entirely in your browser.

Can I change just one color without affecting the rest of the image?

Yes. With the tolerance slider low, only pixels that closely match the color you picked are recolored — everything else stays exactly as it was. Raise the tolerance gradually if you also want to catch anti-aliased edges and darker or lighter shades of the same color.

Will my PNG stay transparent after changing the color?

Yes. Changing colors only rewrites the red, green and blue values and never touches the alpha channel, so transparent and semi-transparent areas keep their exact opacity. The result always downloads as a PNG with transparency intact.

Can you change the color of a PNG?

Yes, and it takes three steps: drop the file in, click the shade to change, pick the new color. The preview updates as you move the sliders, and the download keeps the original resolution and transparency. No design skills required.

How do I change the color of a PNG without Photoshop?

Use a browser tool like this one — nothing to install and no subscription. Open the page, drop your PNG, and the eyedropper-plus-tolerance workflow handles what you would otherwise do with Photoshop's Replace Color dialog. For one-shot recolors it is usually faster than opening a desktop editor.

How do I change the color of a PNG on a Mac?

Open this page in Safari or Chrome and drop the file in — everything runs locally on your Mac, so it works offline too. Preview has no dedicated replace-color tool, which is why browser changers are the usual route; the download button saves straight to your Downloads folder as a finished PNG.

Can I change a PNG's color without losing transparency?

Yes — that is the core guarantee here. The recolor math rewrites RGB values only, so the alpha channel (including semi-transparent pixels) passes through untouched, and exports are always PNG so nothing gets flattened onto a white background.

How do I turn a black PNG white?

Load the file and press the Black → White button in the Replace Color panel — done. The reverse (white to black) sits right next to it. If the black is not pure #000000, click the dark shade with the eyedropper first or raise the tolerance slightly so the anti-aliased edges flip too.

Can I change the color of a JPG?

Yes — the tool accepts JPG, but the format has no transparency to preserve. If you want a transparent result, use the Remove Color tab to erase the background, and the export comes out as a PNG with real alpha where the removed area used to be.

Can I fill an area with a gradient instead of a flat color?

Yes. Switch to the Fill Color tab, tick Gradient fill, and choose an end color — the poured region fades from the bucket color at the top to the end color at the bottom. Preset swatches for white, black, blue and gold sit beside the hex field, and you can type any exact hex code directly.

Which color formats can I type in?

Typed colors use six-digit hex codes — type #1D4ED8 into the Hex field and the picker snaps to it, or click a preset swatch. If you only have RGB values, convert them to hex first (255, 78, 88 becomes #FF4E58), or skip typing altogether: click the shade on your image and the eyedropper reads its exact value for you.

Will replaced edges show color halos?

No fringe if the tolerance is set right. Anti-aliased edges blend the old color into the background, so halfway pixels can survive a low tolerance and leave a faint ring. Nudge the tolerance up until the halo disappears from the preview — the recolor blends the remaining edge pixels smoothly instead of repainting them as a hard block.

What is the difference between Replace Color and Remove Color?

Replace Color swaps a shade for a different one — every matching pixel stays visible but changes color, which is what you want for logos and artwork. Remove Color turns the matching pixels transparent instead, erasing them entirely — the right choice when the color is a leftover background around a cutout. Both leave every other color and the rest of the transparency untouched.

Edit PNG Colors

The full PNG color editor — remove a color, fill with the bucket, invert, with deep how-to tips.

Open the color editor →

Invert Image

Turn any picture into a color negative — all colors, single RGB channels or grayscale.

Open the inverter →

Flip Image

Mirror horizontally, flip vertically, or rotate 90° and 180°. Same instant workflow.

Open the flipper →

Black & White Converter

Convert any photo to black and white with natural luminance shades — transparency preserved.

Open the B&W converter →

Compress Image

Shrink JPG, PNG and WebP files with a quality slider and live size readout — transparency aware.

Open the compressor →

Compress PNG to 100KB

Squeeze a PNG under 100 KB with a live size readout — transparency and sharpness kept.

Open the PNG compressor →

Resize Image

Scale to exact pixels or quick percentages with aspect ratio lock — transparency intact.

Open the resizer →

Negative Image Maker

Turn any photo into a film-style negative — or restore a scanned negative back into a photo.

Open the negative maker →

Film Negative to Positive

Turn scanned film negatives into viewable photos — orange mask handled, full resolution kept.

Open the film converter →