Invert Image Colors

Invert image colors

Click or drop an image hereChoose an image

About Invert Image Colors

Invert Image Colors turns a picture into its color negative. Every red, green, and blue value is subtracted from 255, so black becomes white, blue becomes yellow, and a dark screenshot turns light. Transparency is not touched, so a logo keeps its see-through background. There is one button and no settings. The pixel size never changes. Inverting the result again gives the original colors back, exactly for an opaque PNG. The inversion is done in your browser.

How to invert the colors of an image

  1. 1Click the upload box and choose the picture to turn into a negative.
  2. 2Click "Invert colors"; there is nothing to set.
  3. 3Look at the negative in the preview.
  4. 4Click "Download"; the negative keeps the format of a JPG, PNG, or WebP original and is a PNG for any other format.

Formats and limits

Formula
New value = 255 − old value for red, green, and blue; alpha unchanged
Input formats
JPG, PNG, WebP, GIF, BMP, AVIF, and others the browser decodes
Output format
Unchanged for JPG (re-saved at quality 92), PNG, and WebP; PNG for the other formats
Largest image
No more than 268 MP

Where your image is processed

The negative is calculated by this page in your browser, pixel by pixel, and the picture is not uploaded. The inverted file stays in the tab until you save it. The cleaned words of an error message, should one appear, are reported to us with the tool and the browser's name and version.

Frequently asked questions

Can I undo the inversion?

Yes. Inverting the result again gives back the original colors; with an opaque PNG the pixels come back exactly. A JPG goes through lossy compression at each save, so after a round trip it is very close to the original but not identical.

Does a transparent logo stay transparent after inverting?

Yes. Only red, green, and blue are inverted; the alpha channel is left as it is. A transparent PNG logo keeps its see-through background and stays a PNG, and a WebP stays a WebP.

Can I invert only some colors or one area?

No. All three color channels of every pixel are inverted. For a gray negative, convert the picture with Grayscale Converter first, then invert the result here.

Tips and tricks

  • ✓Open the original and the negative in Compare Images to sweep from one to the other.