Skip to content
Jellykit

Invert Image Colors

Turn a picture into its negative by flipping every pixel to its opposite colour, with transparency kept or inverted too.

  • Runs on your device
  • Works in the background
Loading tool

About Invert Image Colors

Make a negative of a photo, turn a dark screenshot light, or flip a logo for a dark background. Every red, green and blue value becomes 255 minus itself, so black turns white, blue turns yellow and a scanned black-and-white negative turns back into a positive.

Transparent areas stay transparent unless you choose to invert transparency as well. Drop in one image or many; each one keeps its format where your browser can write it, otherwise it comes back as PNG.

How it works

  1. Your browser decodes the image the right way up, including the rotation a phone camera records.
  2. In a background worker every pixel's red, green and blue values are replaced by 255 minus themselves. Alpha is copied unchanged unless you turn on inverting transparency.
  3. The result is saved in the original format where the browser can write it (JPEG and WebP at quality 92), otherwise as PNG.

Questions

Does inverting twice give me the original back?

The inversion itself is exact, so with a PNG you get the very same pixels back. A JPEG is compressed again each time it is saved, so tiny differences can creep in; convert to PNG first if that matters.

Can it turn a scanned film negative into a photo?

It makes a straight RGB inversion, which works well for black-and-white negatives. Colour negatives also have an orange base, so the result will look blue-tinted and need colour correction afterwards.

What does inverting transparency do?

Opaque areas become fully transparent and transparent areas become opaque. It is useful for turning a mask or cut-out inside out. Leave it off to keep the shape of the picture as it is.

Is there a size limit?

Each file can be up to 200 MB and up to 40 megapixels (about 7,700 × 5,200), or less on browsers whose canvas is smaller, such as Safari on iPhone at about 16.7 megapixels. Larger pictures are refused with a message before any work starts.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.