Invert Image Colours

Turn a picture into its negative: light becomes dark and each colour becomes its opposite. It all happens in this browser tab.

How it works

Each channel value v becomes 255 minus v. Black, 0, becomes white, 255, and a red of 255, 0, 0 becomes cyan, 0, 255, 255.

Black and white negative first turns the pixel into its grey, using the Rec. 709 brightness weights, then inverts that grey. Only light and dark swap; no new colours appear.

Transparency is kept as it was. The preview is a small copy, and the full-size image is made in a background worker when you download.

How to use it

  1. 1 Choose an image, drop it on the file box, or paste one with Ctrl+V.
  2. 2 Pick Colour negative or Black and white negative.
  3. 3 Press Show original to compare, then press Download.

Good to know

  • A white-background diagram turns into a dark-background one, which can be easier to read on a dark slide.
  • Inverting twice gives back exactly the original pixels.
  • For a scanned black and white film negative, Black and white negative gives you the positive.

Browser support

  • Chrome 94 and later
  • Firefox 93 and later
  • Safari 16.4 and later
  • Edge 94 and later

These are the oldest versions with everything the tool uses. They are worked out from the tool itself, so they change when it does.

Version numbers checked on 2026-09-04.

What a negative is, worked through on real numbers

A screen pixel stores red, green and blue as numbers from 0 to 255. Inverting a pixel means replacing each number v with 255 minus v. A pixel of 10, 120, 250, a strong blue, becomes 245, 135, 5, a strong orange. Black, 0, 0, 0, becomes white, and a mid grey of 128 becomes 127, which looks the same. Each colour turns into its opposite on the colour wheel: red into cyan, green into magenta, blue into yellow.

This is the digital version of a photographic negative. On black and white film, the parts that got the most light turn darkest, so the film shows the scene with light and dark swapped. Printing it inverts it again and gives the positive. That is why inverting twice always gives back the exact original pixels: 255 minus (255 minus v) is v.

The Black and white negative preset takes a different route. It first finds the brightness of each pixel with the Rec. 709 weights, 21% red, 72% green and 7% blue, and then inverts that single grey. A pure red pixel has a brightness of 54, so it becomes a light grey of 201. This is the right choice for a scanned black and white negative, for an X-ray style look, or for making a dark version of a pencil drawing without strange colours.

Colour film negatives are a harder case, and it is fair to say so. The film has an orange mask built into it, so a plain inversion turns the whole picture blue. Scanning software removes the mask with a colour correction tuned to the film, which this tool does not try to do. For colour negatives, inversion here is a quick preview at best.

Other limits: transparency is kept but never inverted, so a transparent background stays transparent. The download keeps the original format, and a JPEG is compressed again at high quality, which loses a very small amount of detail; a PNG keeps every pixel. HEIC and other formats a browser cannot write are saved as PNG. The largest image it takes is 24 megapixels, or 10,000 pixels on a side.

Frequently asked questions

Can I turn a scanned colour film negative into a photo with this?

Only roughly. Colour negative film has an orange base, so a plain inversion comes out strongly blue. Fixing that needs a colour correction that this tool does not do. Black and white negatives invert cleanly.

Is a negative the same as dark mode?

No. Dark mode keeps colours and only darkens backgrounds. An inversion changes every colour too, so a blue link turns orange and skin turns blue-green.

Is my image uploaded?

No. It is read and changed inside this browser tab and saved straight to your device.

Related tools

Your files are processed on your device and are not uploaded. You can verify this in your browser’s developer tools under the Network tab.