Invert the colours of a photo, or only its light and dark
This free tool inverts the colours of a photo as soon as you open it: white turns black, black turns white, and every colour turns into its opposite, so a blue sky becomes orange-brown. Turn on Keep the colors to swap only light and dark, which makes a light screenshot dark while blue links stay blue. It runs in your browser, the photo is never uploaded, and it saves at full size as JPG, PNG or WebP.
A plain invert is exact: each red, green and blue value, from 0 to 255, is replaced by 255 minus that value, so inverting twice gives back the original. Saved as PNG, the harbour photo below came back identical, pixel for pixel.
- Settings
- Full invert, or Keep the colors to invert brightness only
- Saves as
- JPG, PNG or WebP, at full size
- Transparency
- Kept when saved as PNG or WebP
- Works on
- Phones, tablets and computers
- Privacy
- Runs on your device; nothing is uploaded
- Price
- Free, no sign-up, no watermark
Examples

BeforeAfter

BeforeAfter

BeforeAfter
How to invert a photo
- Choose a photo
Tap Choose photo, use Take photo on a phone, drop a file onto the page or paste it. Or try one of the sample photos.
- Invert all colours, or only light and dark
The photo turns into a negative as soon as it opens. To swap only light and dark, turn on Keep the colors (invert brightness only). Press and hold Hold to compare, or the photo itself, to see the original.
- Download
Press Download. The same settings are applied to the full-size photo, and you can choose JPG, PNG or WebP in the download options.
How it works
A plain invert replaces each pixel's red, green and blue values, from 0 to 255, with 255 minus the value. White becomes black, black becomes white, and a middle grey of 128 becomes 127, almost the same. Each colour turns into its opposite on the colour wheel: red into cyan, green into magenta and blue into yellow.
Keep the colors inverts brightness instead. The tool works out how bright each pixel looks, with green counting for 72%, red for 21% and blue for 7% (the Rec. 709 weights used for HD video), mirrors that brightness and moves red, green and blue by the same amount, so the hue stays. A strong colour that would go past white or below black is made less saturated until it fits, which is why pure blue comes out almost white and yellow almost black. On greys, both settings give the same result.
Transparency is left as it is; a JPG, which cannot store it, gets white in those areas. The preview is worked out on a smaller copy, and the download applies the same setting to the full-size photo as a new file whose name ends in -invert, so your original is not changed.
What each colour turns into
| Colour | Invert | Keep the colors |
|---|---|---|
| White #FFFFFF | Black #000000 | Black #000000 |
| Black #000000 | White #FFFFFF | White #FFFFFF |
| Middle grey #808080 | Grey #7F7F7F | Grey #7F7F7F |
| Red #FF0000 | Cyan #00FFFF | Pale red #FFBABA |
| Green #00FF00 | Magenta #FF00FF | Dark green #006600 |
| Blue #0000FF | Yellow #FFFF00 | Very pale blue #EBEBFF |
| Yellow #FFFF00 | Blue #0000FF | Almost black #141400 |
| Link blue #2465B8 | Light brown #DB9A47 | Light blue #69AAFD |
Which setting to use
| For | Keep the colors |
|---|---|
| A negative effect on a colour photo | Off |
| A black and white negative | Off, after Greyscale |
| A light screenshot, chart or web page made dark | On |
| Black text or a black logo on white | Either: the result is the same |
Invert, Greyscale or Colorize?
Use Invert to swap light and dark. Greyscale takes the colour out and keeps light and dark where they are. Colorize gives the whole photo one colour of your choice, and Saturation makes colours stronger or weaker without turning them into others. To mirror a photo left to right or top to bottom, which some people also call inverting, use Flip.
Frequently asked questions
What does inverting the colours of a photo do?
What does Keep the colors do?
How do I make a screenshot or a chart dark?
Can I undo an invert?
Can I turn a film negative into a normal photo?
Does it keep transparency?
Is the photo saved at full size?
Is it free and private?
Last updated: