Invert Image Colors
Drop, paste or choose a picture to turn it into a color negative, flip only the red, green or blue channel, and blend the effect with an intensity slider. Your image is processed in your browser and never uploaded.
Showing a sample picture
Channels to invert
Alpha (transparency) is always kept.
How to use the Invert Image Colors
- Add an image: drop it on the box, press Choose image or paste it with Ctrl+V. A sample picture is shown until you do.
- Press Invert colors to create the negative. Changes to the options update the result live.
- Pick channels: untick R, G or B to keep that channel as it is, for example invert only blue.
- Set the intensity: 100% is a full negative, lower values mix it with the original.
- Compare by dragging the slider over the image, then download a PNG or JPG.
How color inversion works
Digital images store each pixel as red, green and blue values from 0 to 255. Inverting a channel replaces each value with its complement: new = 255 − old. Doing this to all three channels gives the classic photo negative. The alpha channel, which stores transparency, is left untouched, so cut-out logos and icons keep their transparent background.
The intensity slider blends between the original and the negative with new = old + k × (255 − 2 × old), where k is the intensity from 0 to 1. At k = 1 the formula is the full inversion; at k = 0.5 every inverted channel becomes 127.5, which is why the picture fades to gray halfway along the slider.
| Original color | RGB | Inverted (all channels) | Inverted RGB |
|---|---|---|---|
| White | 255, 255, 255 | Black | 0, 0, 0 |
| Red | 255, 0, 0 | Cyan | 0, 255, 255 |
| Green | 0, 255, 0 | Magenta | 255, 0, 255 |
| Blue | 0, 0, 255 | Yellow | 255, 255, 0 |
| Orange | 255, 165, 0 | Azure blue | 0, 90, 255 |
| Mid gray | 128, 128, 128 | Mid gray | 127, 127, 127 |
Single-channel inversion effects
- Only R: skin tones turn teal and white areas become cyan (0, 255, 255).
- Only B: blue skies turn yellow and white becomes yellow (255, 255, 0). It is a quick way to make a warm, retro look.
- R and G (not B): white becomes blue (0, 0, 255) and greens turn purple.
- All three: the full negative, like developed film before printing.
Practical uses for a negative image
- Scanned film negatives: inverting a black-and-white negative scan gives you a positive photo. Color negatives have an orange base, so expect to correct the color balance afterwards.
- Dark-mode screenshots and diagrams: invert a white-background chart or document to make it readable on a dark slide. For pure black-and-white line art the result is clean; for photos, people look strange.
- X-ray and medical style images: radiologists often switch between positive and negative views to see edges better.
- Design and art: combine an inverted copy with the original, or invert one channel for a psychedelic poster effect. Try Grayscale Image first for a high-contrast black-and-white negative, or Photo Filters for other looks.
Save as PNG if your picture has transparency or sharp text; choose JPG for photos when you need a smaller file.
Frequently asked questions
What does inverting colors do to an image?
Each color channel value is replaced by its opposite: new value = 255 − old value on the 0–255 scale. White becomes black, red (255, 0, 0) becomes cyan (0, 255, 255), and a mid gray (128) becomes almost the same gray (127). The result looks like a film negative.
Is the transparency of my PNG kept?
Yes. Only the red, green and blue channels are changed; the alpha (transparency) channel stays exactly as it was. Download as PNG to keep it, because JPG has no transparency and fills transparent areas with white.
What happens if I invert only one channel?
Only that channel is flipped. Inverting just blue turns a blue sky yellow-ish and white into yellow (255, 255, 0); inverting red and green but not blue gives a strong color shift. It is a quick way to make surreal color effects.
What does the intensity slider do?
It blends the original and the negative: new = old + intensity × (255 − 2 × old). At 100% you get the full negative, at 0% the original, and at 50% every inverted channel becomes a flat 127.5, which makes the image gray.
Can I turn a scanned film negative back into a normal photo?
Inverting a scanned black-and-white negative gives a usable positive. Color negatives also have an orange film mask, so after inverting them you will usually need to correct the color balance in a photo editor.
Is my image uploaded to a server?
No. The image is decoded and inverted with the canvas in your own browser. Nothing is sent anywhere, so it also works offline once the page is loaded.
Is there a size limit?
Images up to about 40 megapixels are processed at full size. Larger pictures are scaled down to fit that limit so the browser does not run out of memory, and a note tells you when this happens.