Invert Image Colors — Free, Fast & Private
Inverting an image replaces every colour with its opposite: each red, green, and blue value v becomes 255 − v, so black becomes white, deep blue becomes warm yellow, and a photograph becomes its negative. This tool applies that operation literally — a per-pixel loop over the actual channel values, at the image's full native resolution, with the alpha channel left exactly as it was. Transparent stays transparent, opaque stays opaque, and only the colours reverse.
That implementation detail is worth a sentence, because there is a shortcut this tool deliberately avoids: the CSS-style invert(1) filter. The filter route runs through the browser's colour pipeline, where some engines apply the inversion in a colour-managed space — meaning the same input file can produce different output bytes in different browsers. The arithmetic loop used here is exact and identical everywhere: same file in, same bytes out, on any machine. For a one-off visual effect the difference is invisible; for asset pipelines and before/after comparisons, determinism is the point.
Scanned film negatives: what inversion does and doesn't fix
The classic reason to invert: you scanned or photographed an old film negative and want the positive back. For black-and-white film, inversion is the whole job — the negative stores reversed tones and 255 − v reverses them straight back; expect a usable positive immediately, with at most a contrast touch-up elsewhere. (If the scan of a black-and-white negative picked up a colour tint from the scanner lamp, convert it to grayscale first, then invert — the positive comes out neutral.) Colour negatives deserve an honest caveat: C-41 colour film carries a built-in orange mask, so a plain inversion yields a positive with a strong blue-cyan cast. That is not a defect of the tool — it is what a mathematically exact inversion of an orange-tinted original produces. The inverted image is still the correct starting point, but expect to follow up with white-balance correction in a photo editor to neutralise the cast. For slides (positive film), no inversion is needed at all.
Dark-mode assets and accessibility
Inversion is the quickest first draft of a dark-mode variant: a black-on-transparent icon becomes white-on-transparent in one step, a light diagram becomes a dark one, and because alpha is untouched, transparent backgrounds survive the trip — no halo, no filled-in background. Simple line art, logos, sketches, and technical diagrams usually invert cleanly. Full-colour illustrations are less predictable, since every hue flips to its complement, so treat the result as a starting point rather than a shipped asset. The same operation serves accessibility experiments: high-contrast reading of dense diagrams, checking how content behaves under a system-level "smart invert", or producing a light-on-dark version of scanned text for readers who find it easier on the eyes.
The X-ray look, and other places negatives turn up
Inverted imagery has a visual grammar of its own: the radiograph look — pale structures on dark ground — that designers borrow for posters, album art, and Halloween-adjacent graphics; the eerie inverted portrait; inverted screenshots of hand-drawn whiteboard photos, where chalk-on-black suddenly reads better than marker-on-glare. Engravers and stencil makers invert artwork because their medium cuts light from dark. None of these require anything beyond what this page does: one exact inversion, then export. To be clear about scope, inverting a photo produces the style of an X-ray, not diagnostic imagery — and if what you want is reversed geometry rather than reversed colours, that is a different tool: flip the image instead.
Invert twice, get the original — and where the bytes go
A property worth knowing: inversion is its own inverse. 255 − (255 − v) is v, so inverting twice restores every pixel exactly — before encoding. The "before encoding" matters: the round trip is mathematically lossless while the pixels are in memory, and stays lossless end-to-end if you export as PNG. Export as JPEG and the usual lossy encoding applies on save — fine for photos, but it means a JPEG inverted, saved, re-uploaded, and inverted again is one generation older, not identical. If you are experimenting back and forth, work in PNG until the final save. As with every MiniPx tool, all of it — decode, the pixel loop, re-encode — happens in your browser through the Canvas API; the image never uploads, and the tool keeps working with your connection switched off. Old family negatives and private scans stay on your device.
