PNG Color Inverter

Invert every colour in a PNG (the "negative" effect): black becomes white, red becomes cyan, blue becomes yellow. Toggle alpha invert separately. Runs in your browser.

100%
100% private — processed in your browser. No upload, no server.

What does "invert colour" actually mean?

For an 8-bit colour image, each colour channel (red, green, blue) takes a value from 0 to 255. Inverting a channel replaces every value v with 255 − v, so 0 becomes 255, 100 becomes 155, 200 becomes 55, etc. Applied to all three channels at once, this swaps every colour to its visual opposite on the colour wheel: black becomes white, white becomes black, red becomes cyan, green becomes magenta, blue becomes yellow.

The result looks exactly like an old photographic negative — the film strip you'd hold up to a light and squint at to see who was in the photo. That comparison isn't accidental; the digital invert operation is mathematically the same transformation a darkroom enlarger applies when printing from negative film. You can invert a negative-style image again to recover the original.

When you'll want to invert a PNG

Why this is the digital twin of film negatives

A film negative records light intensity inversely: where lots of light hit the film, the chemistry darkens (more silver deposited); where little light hit, the film stays clear. A "white" subject (a bright sky) reads as dark on the negative; a "black" subject reads as clear/transparent. To turn a negative into a positive print, the darkroom enlarger projects light through the negative onto photographic paper, and the chemistry runs in reverse — dark areas of the negative block light to the paper (creating bright areas on the print), and clear areas pass light through (creating dark areas).

Mathematically, that's identical to taking 255 - v on every pixel of the negative scan. Which is why "invert" is one of the oldest, most foundational image-processing operations.

Strength slider — when you want a partial invert

At 100%, the inversion is complete: pure black goes pure white. At 50%, every pixel ends up at the midpoint between its original colour and its inverted colour — the image collapses toward 50% gray. Mid-range values produce eerie, washed-out looks that some designers use as backgrounds for moody marketing graphics.

Alpha inversion — when you'd ever want it

The "Invert alpha" checkbox inverts the transparency channel along with the colours. This is rarely useful — it turns transparent pixels opaque and vice versa, which usually produces a strange-looking result. The cases where it does help:

For 95% of uses, leave alpha invert off.

Tips and best practice

FAQs

Is inversion lossless?

Mathematically yes — inverting twice returns the exact original pixel values. PNG re-encoding can in theory introduce micro-differences, but these are not visible.

Will transparency be preserved?

By default, yes — only RGB channels are inverted. Tick "Invert alpha" if you specifically want transparency swapped.

Why does my photo inversion not look like a true film negative?

Film negatives have an orange mask layer that has to be neutralised in addition to inverting RGB. This tool does just the RGB invert.

Does the file size change?

Usually very little. Inverted images compress differently but typically within a few percent of the original.

Is anything uploaded?

No. Everything runs in your browser.

Can I batch invert?

Not yet — one file at a time.

Related tools