Invert Image Colors

Create a photographic negative by inverting an image's colours.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Invert image colours

Turn any photo into its photographic negative by inverting every colour channel. White flips to black, light areas become dark, and each hue is replaced by its opposite — useful for previewing scanned film negatives, accessibility checks, or creative artwork.

How it works

The image is read into a <canvas> with getImageData. For every pixel the tool replaces each colour channel with 255 − value:

  • R → 255 − R
  • G → 255 − G
  • B → 255 − B

The alpha (transparency) channel is left untouched, so transparent areas stay transparent. Because the operation is a simple subtraction, applying it twice returns the original image exactly.

Example

Original (R, G, B)ColourInverted (R, G, B)Colour
0, 0, 0black255, 255, 255white
255, 255, 255white0, 0, 0black
30, 144, 255blue225, 111, 0orange

The transform runs in your browser, so your image is never uploaded.

Ad placeholder (rectangle)