Color Inverter

Invert the colors of any image and make a photo negative in one click. Flip every color, only one RGB channel or only the brightness, or make a grayscale or film-look negative. There is a hex color inverter below too.

  1. 1Choose an image
  2. 2Pick a mode
  3. 3Download

1Choose an image

or drop an image here, or paste one with Ctrl/Cmd+V

50% original

Your file stays in your browser; it is not uploaded. No cookies unless you accept: what we count.

2Choose how to invert

Mode

Transparency
3Download

Hex color inverter

Type a color code to get its inverted color: each of red, green and blue becomes 255 minus its value. Accepts #RGB, #RRGGBB, #RRGGBBAA and rgb() or rgba(). Alpha stays the same.

Original
Inverted

Before and after

The example image, changed with this tool. Middle: Full invert, where every red, green and blue value becomes 255 minus itself. Right: Film negative look at full mask strength.

Example image: CrispKit's cartoon fox mascot in a dark hoodie with headphones, in front of a film strip
BeforeOriginal
The same image with all colors inverted: a blue fox in a light grey hoodie on a dark background
Full invertEvery color flipped
The same image as an orange-tinted film negative look
Film negative lookInverted, orange mask

How to invert the colors of an image

  1. Choose an image (JPG, PNG, WebP or GIF), or press Try with an example. It is inverted straight away.
  2. Pick a mode: Full invert, One channel, Brightness only, Grayscale negative or Film negative look.
  3. Compare with the before/after slider, or drag across the picture.
  4. Choose PNG or JPG and press Download.

What each mode does

  • Full invert changes every pixel's red, green and blue to 255 minus the value. White becomes black, red (255, 0, 0) becomes cyan (0, 255, 255). Doing it twice gives back the original.
  • One channel inverts only the red, green or blue channel and leaves the other two alone. It gives strong color shifts: for example, inverting red turns white into cyan (0, 255, 255) and black into red.
  • Brightness only swaps light and dark but keeps each color's hue and saturation (it flips HSL lightness). A light blue sky becomes a dark blue sky instead of turning orange, which suits dark-mode screenshots and diagrams.
  • Grayscale negative first turns the picture grey (Rec. 601 luma: 0.299 red + 0.587 green + 0.114 blue), then inverts it, like a black-and-white film negative.
  • Film negative look inverts the colors, then tints them with an orange mask so the picture looks like a color film negative. It is an effect, not a scan conversion: to turn a scanned negative back into a positive photo you need film scanning software that removes the mask of your actual film.
  • Keep transparency leaves the alpha channel alone, so a transparent logo stays transparent. Untick it to invert alpha as well.

FAQ

What is the inverted color of a hex code?

Each pair of hex digits is subtracted from FF. For example #5B3DF5 becomes #A4C20A, white #FFFFFF becomes black #000000, and #FF0000 becomes #00FFFF. Type any code into the hex color inverter above to get it, with a copy button.

Changing one colour, not all of them? How to change the color of something in a picture

Created by Saad Danish.

Report a problem or suggest a feature

More free tools