Invert image colours — make a photo negative

Each red, green and blue value is replaced by 255 minus itself, so the picture becomes its negative; run it again and you are back where you started.

Live demo · real result from this tool

Drop images here

or paste with Ctrl+V · nothing is uploaded

Your result appears here — processed on your device.

Processed on your device — nothing is uploaded.

How to use Image Invert

  1. Choose one or more images.
  2. Pick Save as (Same format as the original is the default) and the Quality for lossy formats.
  3. Press Invert.
  4. Download the files ending in -inverted.

There are no sliders: inversion is all or nothing.

What it does and when to use it

Inversion swaps light for dark and every colour for its complement. Good reasons to use it:

  • Turning scanned black-and-white negatives into prints you can view and share.
  • White-on-black versions of logos, signatures, line art and screenshots of text, for dark slides or dark-mode pages.
  • Creative effects, such as an X-ray look or a surreal colour swap.
  • Spotting flaws in a design: odd colours often stand out more on the negative.

If you only need to flip one colour value, such as a hex code from a brand guide, the Color Inverter does that without an image. For a black-and-white negative, you might first convert to grey with Image Grayscale to remove any colour tint from the scanner.

How it works

After decoding the file in a Web Worker, the tool runs a lookup table over every pixel: each of the red, green and blue values v becomes 255 − v. Alpha (transparency) is left alone. The result is saved by your browser’s encoder, and the image never leaves your device.

Worked examples

Values from the tool’s own lookup table.

Original Inverted
White (255, 255, 255) Black (0, 0, 0)
Black (0, 0, 0) White (255, 255, 255)
Amber (255, 200, 0) Blue (0, 55, 255)
#2563eb (37, 99, 235) #da9c14 (218, 156, 20)
Mid-grey (128, 128, 128) (127, 127, 127)

A signature for a dark slide. A black signature on a white PNG becomes a white signature on black. To place it on a dark background without the black box, remove the background afterwards with the Background Remover.

Limits and tips

  • Mid-grey barely changes (128 becomes 127), so low-contrast pictures look grey either way.
  • Inverting a photo of a person gives unnatural skin tones; that is expected.
  • The inverted copy does not keep EXIF details such as the date taken.
  • Animated GIFs are read as a single frame.

Frequently asked questions

Can I turn a scanned film negative into a positive?
Black-and-white negatives come out well. Colour negatives have an orange base layer, so a plain inversion gives a strong blue or cyan cast. You will need to correct the colour afterwards, for example with the Image Tint or Image Saturation tools.
Does inverting twice give back the original?
The pixel values do, because 255 − (255 − v) = v. The file may still differ slightly if you save as JPEG, WebP or AVIF each time, since those formats compress again.
Is this a good way to make a dark mode version of a diagram?
It works for black-and-white diagrams and screenshots of text. Coloured parts change hue too (blue becomes orange, red becomes cyan), so colourful charts may look wrong.
Does it invert transparency?
No. Only the colour channels are flipped. Transparent areas stay transparent if you save as PNG, WebP or AVIF.

Written by the ToolsRift team · Last updated

Pages are drafted with AI assistance and checked by automated tests. How we write and check pages.

Was this tool useful?

Report a problem

Start typing to search every tool.

↑ ↓ to moveEnter to openEsc to close