When inverting colors is useful
Color inversion sounds like a novelty, but it solves a few practical problems:
- Dark mode assets. A black logo or line drawing on a white background becomes a white logo on black, ready for a dark website header or slide.
- Reading scans and screenshots. White text on a black background can be easier on the eyes for some people, especially at night or with light sensitivity.
- Checking negatives. Photographing a strip of black and white film with your phone and inverting it gives you a quick look at what is on each frame.
- Design and art effects. Inverted photos make striking posters, album art and backgrounds, and they are a quick way to spot hidden details in X-ray style images.
How the inversion works
Every pixel stores red, green and blue values from 0 to 255. Inverting replaces each value with 255 minus that value. A pure white pixel (255, 255, 255) becomes pure black (0, 0, 0), and a mid gray stays almost the same. That is why images with lots of mid tones look flat after inverting, while high-contrast graphics look crisp.
Because the operation is perfectly reversible, inverting an inverted image gives you back the original colors. You can run the same file through this tool twice to undo it, apart from tiny JPG re-compression changes.
Transparency and file formats
The tool keeps the format you started with:
| Input | Output | Notes |
|---|---|---|
| PNG | PNG | Lossless, transparency kept |
| WebP | WebP | Transparency kept |
| JPG | JPG | No transparency in JPG |
| GIF | GIF | First frame only |
| AVIF, HEIC | Same as input | Large phone photos can take a moment |
The alpha channel is never inverted. If it were, a transparent background would turn solid and the visible parts would vanish, which is almost never what you want. A black icon on a transparent background therefore becomes a white icon on a transparent background. If it now looks invisible in your viewer, that is just because the viewer shows transparency as white.
Common problems and fixes
The result looks blue or teal. Your source was probably a color film negative. The orange film base inverts to blue. Try converting to black and white after inverting, or use scanning software built for color negatives.
The image is too large. Images are limited to 8,000 pixels per side. Resize very large panoramas or scans first, then invert.
Faces look strange. That is expected. Skin tones invert to blue-green, so inverted portraits look eerie. The effect works best on graphics, text and monochrome images.
I need a dark version of a colorful logo. Inverting will also change the brand colors to their opposites. For a dark version that keeps your colors, recolor the dark parts in a design app instead.