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.
- 1Choose an image
- 2Pick a mode
- 3Download
1Choose an image
or drop an image here, or paste one with Ctrl/Cmd+V
Your file stays in your browser; it is not uploaded. No cookies unless you accept: what we count.
2Choose how to invert
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.
Not a color code. Try #5B3DF5, 5b3df5, #fff or rgb(91, 61, 245).
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.



How to invert the colors of an image
- Choose an image (JPG, PNG, WebP or GIF), or press Try with an example. It is inverted straight away.
- Pick a mode: Full invert, One channel, Brightness only, Grayscale negative or Film negative look.
- Compare with the before/after slider, or drag across the picture.
- 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
Report a problem or suggest a feature