Free image tools

Invert the colours of an image in your browser

A simple colour inversion: every pixel is swapped for its opposite, so light becomes dark and each colour turns into its complement.

This tool needs JavaScript. It runs entirely in your browser; nothing is uploaded.

Private by design. Your files are processed by your own browser on your own device. They are not uploaded, stored or seen by Archive.London. Tool terms

How to use the Invert Image Colours tool

  1. Choose an image or drop it onto the page.
  2. Check the inverted result.
  3. Download the inverted image.

To invert the colours of an image, open Invert Image Colours on Archive.London, choose or drop your file, and download the inverted version. The tool flips every pixel to its opposite value, so black becomes white and blue becomes yellow. There are no settings to adjust, and the image is processed in your browser without being uploaded.

What inversion does to each pixel

A standard 8-bit image stores red, green and blue as numbers from 0 to 255. Inverting replaces each number with 255 minus itself. Black (0, 0, 0) becomes white (255, 255, 255), mid grey stays close to mid grey, and each colour becomes its complement: red turns cyan, green turns magenta, blue turns yellow.

The operation is its own undo. Invert a picture twice and the arithmetic returns you to the starting values, although saving to a lossy format such as JPEG in between adds a small loss each time.

Common uses are turning a white-on-black diagram or screenshot into black-on-white to save printer ink, making a logo or line drawing readable on a dark background, and checking faint detail such as pencil marks or dust, which can be easier to see reversed.

Why a plain invert is not enough for colour negatives

Inverting a scan of a black-and-white negative gives a usable positive straight away, though it will normally want its contrast adjusting. Colour negative film is different. The film base carries an orange mask, built into the emulsion to correct for imperfections in the dyes. Invert a colour negative directly and that orange becomes a heavy blue-cyan cast across the whole picture, with low contrast underneath it.

Getting a proper positive means removing the mask first and setting the levels of each channel separately. The film negative to positive converter on this site is built for that job, with mask removal from a sample of the film base. Use this page for straightforward inversion and for black-and-white negatives where a quick look is all you need.

Negatives, positives and reading film

Film archives hold two kinds of original. Transparencies are positives: held to the light they show the scene as it was. Negatives are reversed and were only ever meant as a step towards a print. That is why photographers made contact sheets, printing a whole roll at actual size so the frames could be read and chosen without squinting at reversed tones.

The analogue holdings of the Robert Harper Photograph Library include all three: mostly medium-format colour transparencies, plus black-and-white negatives and contact sheets. Inversion is the digital version of the contact print, a way of seeing what a negative contains. Most of that film has yet to be scanned, and the digitisation partners page is the place to start for anyone able to help.

Frequently asked questions

What does inverting an image mean?

It means replacing every pixel with its opposite. Light areas become dark, dark areas become light, and each colour is swapped for its complement on the colour wheel, so red becomes cyan and yellow becomes blue. The result looks like a photographic negative of the original. The shapes and detail in the picture are unchanged.

Can I use this to convert a film negative to a photo?

For black-and-white negatives it gives a workable positive, which you can then improve with brightness and contrast. For colour negatives it is not enough, because the orange film base turns into a strong blue cast. Use the film negative to positive converter for those, as it removes the mask before inverting.

Does inverting an image reduce its quality?

The inversion itself loses nothing, since every value maps to exactly one other value and back again. Any loss comes from saving. A lossless format such as PNG preserves the inverted pixels exactly, while JPEG applies its usual compression. The download is an 8-bit sRGB file and does not include the original metadata.

Is inverting colours the same as dark mode?

Not quite. A plain invert flips everything, including photographs and brand colours, which then look wrong. Proper dark mode designs choose new background and text colours and leave pictures alone. Inverting is still a quick way to make a white document page or diagram dark, provided odd-looking colours do not matter.

Are my images uploaded when I invert them?

No. The inversion is carried out by your own browser using an HTML canvas. The file stays on your device, nothing is stored afterwards and you do not need an account. After the page has loaded once it will work without an internet connection, which is a simple way to verify that nothing is being sent.

About the archive behind this page

Archive.London is the home of the Robert Harper Photograph Library: 95,487 photographs made across a career that began in the Condé Nast studios.

Read the archive in factsWrite to the archive