Invert the colors of an image

Make a negative, or flip only light and dark. Live preview, on your device.

How it works

  1. Add your images
  2. Pick a mode and check the preview
  3. Download

Two kinds of inversion

Invert colours is the photographic negative. Every pixel's red, green and blue become 255 minus their old value, so white turns black, black turns white, pure red turns cyan and a sky blue turns orange. Invert lightness only is different. It converts each pixel to hue, saturation and lightness, flips the lightness to one minus itself and converts back, so dark areas become light and light areas dark while a red stays red and a blue stays blue. That is the one to try on a screenshot of dark text on a white page when you want light text on black without turning the colours of its logo into their opposites. Both modes run over every pixel the same way, with whole-number results.

Where lightness-only has limits

Pure red, pure green and pure blue have a lightness of one half, so flipping it changes nothing: they come out unchanged. Colours near them change very little. Greys have no hue, so a grey inverts exactly like in the first mode, and mid grey 128 becomes 127. Photos do not look like a clean dark theme afterwards: skin turns pale and skies turn dark, because the tool flips lightness and does not know what is in the picture. Think of it as a quick filter, not a dark-mode converter for pictures that contain people or scenery. The preview shows the result on your own image, and a Result and Original switch lets you compare.

Transparency, format and metadata

Only the colour of each pixel changes. Opacity is never touched, so the see-through areas of a PNG or WebP stay see-through, and a pixel that is half transparent stays half transparent. The file is saved in the same format as the one you added. JPEG and WebP are saved again at quality 92, which is lossy, so some detail may change; PNG is saved without loss. The picture is drawn fresh on a canvas, so the camera and location details stored in the original are not copied, and a phone photo's rotation is applied first. A picture too large for your device's canvas is made smaller, and the result shows both sizes.

Inverting twice

Full inversion applied twice gives back the original pixels exactly, but only if nothing is lost in between. Saving a JPEG again at quality 92 changes pixel values slightly each time, so inverting a saved JPEG once more returns a close copy, not the original file. Lightness-only inversion is not an exact round trip, because of whole-number rounding. Keep your original and run the tool again if you want to undo an inversion.

Frequently asked questions

What is the difference between the two modes?

Invert colours replaces each of red, green and blue by 255 minus its value, so red becomes cyan. Invert lightness only flips how light or dark a pixel is and keeps its hue, so red stays red. For a black-on-white screenshot both give light-on-dark, but the colourful parts differ.

Will transparent areas of my PNG stay transparent?

Yes. Only the red, green and blue values change, never the alpha. A logo with a clear background keeps its clear background, and a half-see-through pixel keeps its opacity.

Does inverting a JPEG reduce its quality?

A little. The picture is drawn again and saved as JPEG at quality 92, and lossy encoding can change some detail. A PNG is saved without loss, so choose a PNG original when you plan to invert several times.

Can I invert a whole batch of screenshots?

Yes, up to 50 images at once, all with the mode you chose. Each is saved in its own format with -inverted added to the name, and the batch downloads as one .zip.

How do I turn a white screenshot into a dark one?

Add the screenshot, choose Invert lightness only and compare with Original. Text and backgrounds flip, while coloured parts such as a blue link keep their hue. For a plain document either mode works. It is a filter, so pictures inside the screenshot are inverted too.