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.
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
- Recovering a digital negative — if you've scanned old film negatives, inverting the scan gives you the positive image. (For accurate film negatives, you'd also want to remove the orange mask, which this tool doesn't do.)
- Creating "dark mode" variants of icons or logos — many simple flat icons designed for light backgrounds look correct on dark backgrounds when inverted. Black-on-white logos become white-on-black.
- Stylised art — inverted album covers, posters, glitch art. The effect is striking and immediately recognisable.
- X-ray, ultrasound and infrared imagery — these are often shown inverted (bright = dense) for medical/technical reasons; the original capture is the negative.
- Visual accessibility — high-contrast text screenshots sometimes read better inverted for users with certain types of low vision.
- Pre-press for some printing workflows — older offset printing tools occasionally expected inverted source files.
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.
- 100% — classic negative effect.
- 70–90% — strong inversion with some original tone preserved. Useful when full inversion is too jarring.
- 40–60% — desaturated, washed-out mid-tones. Edgy/glitch aesthetic.
- 10–30% — subtle "off" feeling, sometimes used in horror or dystopian design.
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:
- Creating a "mask negative" from an existing alpha mask — useful when you want to fill the originally-transparent area with a colour instead.
- Artistic compositing where you want the visible/invisible regions swapped.
- Debugging PNG transparency issues — alpha invert quickly shows you exactly where the alpha channel has values you didn't expect.
For 95% of uses, leave alpha invert off.
Tips and best practice
- Inverting twice returns you to the original image — useful for quickly toggling between the original and the negative without re-loading.
- For dark-mode icon generation, combine invert with a colour overlay in your editor — a pure invert often produces colours that don't match your dark theme's palette.
- Scanned film negatives need more than just colour invert to look right — adjusting white balance and saturation is usually required. This tool is the first step, not the full workflow.
- If the inverted result looks "washed out" rather than dramatic, your source PNG may have already been low-contrast. Use the Brightness/Contrast tool after inversion to punch it up.
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.