Invert image colours
Drop a picture and it comes back as a negative image: white turns black and red turns cyan, as on film. Choose "Brightness only" to swap light and dark but keep each colour, which turns a dark-mode screenshot into one that prints.
How to use it#
- Drop a picture onto the box above, or click it to choose one. An iPhone HEIC photo opens too.
- Choose "All colours" for a negative, or "Brightness only" to keep the colours.
- Download the inverted picture.
What inverting does to a picture#
Each pixel holds a red, a green, and a blue value from 0 to 255, and inverting takes each one from 255. White becomes black, black becomes white, and every colour becomes the one opposite it on the colour wheel: red turns cyan, yellow turns blue, and skin tones turn a dark blue. It is what a colour film negative looks like, and doing it twice gives back the picture exactly as it was.
Transparency is left alone, so a logo on a see-through background stays on a see-through background, inverted. A JPG stays a JPG, a PNG stays a PNG, and a WebP stays a WebP where the browser can write one; a HEIC or AVIF photo comes back as a JPG and a BMP as a PNG. An animated GIF has only its first frame inverted, saved as a PNG.
Swapping light and dark but keeping the colours#
"Brightness only" turns over how light each pixel is and leaves its hue alone. A dark-mode screenshot, white text on black with a red error and a blue link, comes back as black text on white with the error still red and the link still blue. Inverting all colours would have made the error cyan and the link orange.
Use it to print a dark screenshot or slide without a page of black ink, or to make a white-on-black diagram fit a light document. Pure, strong colours such as a bright red sit halfway between light and dark, so they barely change; pale and dark shades are the ones that swap.
Negative to positive, and X-rays#
A scan of a black-and-white negative comes back as a positive with "All colours", since its greys turn over and nothing else changes. A colour negative is harder: the film carries an orange mask, so a straight inversion comes out with a strong blue cast that needs correcting in a photo editor afterwards. An X-ray or a medical scan inverted reads bones dark on a light ground, which some people find easier to read.
A document scanned with the colours the wrong way round, white writing on a black page, comes back as an ordinary page with either choice, since greys look the same either way. To check the colour of a pixel in the result, as a hex code to use elsewhere, open it in the image colour picker.
Frequently asked questions#
What is the difference between all colours and brightness only?
#
"All colours" takes every channel from 255, so white turns black and each colour turns into its opposite, red to cyan and blue to yellow. "Brightness only" turns over the lightness of each pixel and keeps its hue and saturation, so white still turns black but a red stays red and a light blue becomes a dark blue.
Does inverting lose quality?
#
A PNG is inverted pixel for pixel, with nothing lost, and inverting an opaque one again gives back the original exactly. A JPG, a WebP, or a HEIC photo is saved again at a high quality, 92 out of 100, which a viewer will not see but which is not the same bytes as the original.
Can I invert a picture on my phone?
#
Yes. Open the page in Safari or Chrome, choose the picture from your photos, and download the result. On an iPhone the download shows under Recents in the Files app. A HEIC photo opens as it is, and comes back as a JPG.
Is my picture uploaded?
#
No. The picture is inverted in this browser tab, with your browser's own canvas, and nothing is sent anywhere.