Image Size Reducer
Color inverter

Invert PNG Colors

Flip every color in an image to its exact opposite. Lights turn dark, darks turn light, and the transparency underneath is left completely alone.

  • Every color turned into its opposite
  • Transparency untouched by the inversion
  • Instant before and after preview
  • Reversible, so nothing is permanent
  • Inverted in the browser, nothing uploaded
Open the invert tool

Not a Filter, a Subtraction

Most image effects blend or tint. Inverting does neither; it does arithmetic on every pixel, and the answer is always exact.

For each pixel a PNG stores a value for red, green, and blue. Inverting replaces each of those values with the distance from the maximum, so a channel sitting at the top of its range drops to the bottom and a channel near the middle barely moves. Nothing is blended, nothing is weighted, and no filter is applied; it is simply a subtraction from white. That precision is what makes the effect both useful and disorienting. Useful, because it is exactly reversible and produces a true negative. Disorienting, because the result is not a restyled version of the image but its opposite in light, and colors that were warm become cold while dark areas become bright. When you invert PNG colors, knowing that the operation is arithmetic rather than aesthetic saves a lot of fiddling.

What the Invert Tool Does

Every color in an image is replaced by its opposite across all three channels, with the transparency untouched, and exported as a PNG.

One click inversion

Flip every pixel to its exact opposite instantly, producing a true photographic negative.

Before and after preview

Compare the original and the negative side by side before deciding whether to keep the result.

Transparency preserved

Only the color channels are inverted. The alpha channel is left exactly as it was.

Fully reversible

Inverting the result again restores the original, so nothing about the edit is permanent.

Local processing

The inversion happens in the browser, so the image is never uploaded.

ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Every channel gets the opposite value

A pixel's brightness in each channel runs from zero to full. Inverting maps that value to its mirror on the scale, so a nearly white pixel becomes nearly black and vice versa, independently for red, green, and blue. Because the three channels move separately, the hue changes as well as the lightness. A warm color falls to a cold one, and a mid gray, sitting exactly at the center of the range, barely changes at all. That last case is a useful sanity check: if the greys in an image stayed put, the inversion worked properly. It is the quickest way to confirm, the first time you invert PNG colors, that nothing unexpected has happened to the file.
Invert this image
A color swatch strip beside the same swatches after being inverted
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

The photographic negative, exactly

Before digital cameras there was no choice: film recorded light and dark the wrong way round, and a negative had to be inverted to be printed. The operation in this tool is the same one a darkroom performed, just applied to a file instead of a sheet of film. Which is why the effect is instantly recognizable as a negative. It is not a stylistic treatment borrowed from photography; it is the actual photographic process, and any image put through it looks like it came off a strip of film.
Invert this image
A photograph beside its negative, matching the look of old film
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Pulling detail out of a dark image

One genuinely practical use is inspection. A photograph that is mostly dark, an old scan with faint pencil marks, a shadowed area where something might be written, all hide their information in the darkest part of the range, where the eye struggles. Inverting moves that information to the bright end, where it is far easier to see. The faint gray marks on near-black paper become dark marks on light paper, and detail that was invisible for practical purposes suddenly reads clearly. It is the least glamorous reason to invert PNG colors, and one of the most useful.
Invert this image
A dark scan beside the inverted version where faint marks become readable
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Inverting is not a dark mode

One common misconception is worth clearing up. Taking a light interface screenshot and inverting it does produce something that looks dark, and it also looks wrong, because every color has been pushed to its opposite rather than chosen for a dark surface. Inverting is an exact negative, not a redesign. Warm accents go cold, brand colors stop matching, and photographs inside the layout become strange. When what is wanted is a dark version of a design, the colors should be selected for that purpose rather than computed.
Invert this image
An interface screenshot inverted beside a properly designed dark version
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Line art, stamps, and text

The most practical everyday use is flipping line work. Black lines on white become white lines on black, which is exactly what a dark page needs, and it is far quicker than redrawing the artwork. That makes inversion handy for logos, icons, stamps, and signatures that have to appear on a dark header. The catch is that color is inverted along with everything else, so a single-color mark survives intact while a multi-color logo comes out in colors nobody chose. When inverting for a dark background, it pays to pick a mark that has only one color in it.
Invert this image
Black line art beside the inverted white version on a dark background
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Transparency is left alone

The inversion touches red, green, and blue and nothing else. The alpha channel, which records how much of each pixel is present, passes through unchanged, so a cut-out stays a cut-out and an image with a transparent background still has one afterwards. That is worth knowing because it is not obvious. If the transparency were also inverted, empty areas would become solid and the whole shape of the image would change. When you invert PNG colors, the transparency is the one part that stays exactly as it was.
Invert this image
A transparent logo after inversion, still transparent around the mark
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Choosing which colors to flip

Inversion is all or nothing. Every pixel is affected by the same rule, so there is no way to invert the background and leave the subject, or to invert one color and spare another. When that selectivity is what is needed, it is a different job: replacing a specific color, or shifting a hue, keeps the rest of the image untouched. Inverting is deliberate in the opposite way, which makes it predictable and slightly blunt, and the right tool when the whole image should become its negative. It is also the only sensible choice when you want to invert PNG colors as a whole rather than pick at one color at a time.
Invert this image
A fully inverted image beside one where a single color was replaced instead
ImageSizeReducer

ImageSizeReducer

@imagesizereducer

Made in the browser

Inversion is often applied to images that are still private: an unfinished design, a personal photograph, a client's artwork being tested for a dark version. The arithmetic happens on the device. There is no upload and no account, and since the operation is reversible, the original can be restored just as quickly as it was changed.
Invert this image
An image being inverted to its negative inside a browser window

How to Invert PNG Colors

Four steps. The first is the only one with a decision in it, since inverting the wrong file wastes the whole exercise.

Step 1

Upload the image

Use the version whose colors you actually want flipped, since every pixel will be affected without exception.

Step 2

Invert the colors

Apply the inversion and watch the image turn into its negative across all three channels at once.

Step 3

Check the result

Look at the greys, which should barely have moved, and confirm that the transparent areas are still transparent.

Step 4

Download the PNG

Export the inverted image, or invert it again to return to where you started.

Who Inverts PNG Colors

Four kinds of work where the negative is the point.

DE

Designers

dark backgrounds and line art

Flipping black line art to white is quicker than redrawing it for a dark header. Keeping single-color marks means the inversion stays predictable.

RE

Researchers

documents and old scans

Faint pencil marks on a dark scan are almost invisible until the image is inverted. Moving the detail to the bright end makes it readable.

PH

Photographers

artistic and experimental work

A negative is a look in its own right. Loading a favorite shot, inverting it, and seeing what the opposite light does is a quick way to find ideas.

CC

Content creators

graphics and thumbnails

An inverted icon or texture makes a graphic stand out in a feed. It is one click, it keeps transparency, and it is easy to undo.

Frequently Asked Questions

What inversion does to an image, and what it does not do.

See the picture in reverse

Upload an image, invert every color in one click, check the greys and the transparency, and download the negative as a PNG.

Invert this image
White Minus the Picture

Inversion is the one effect that is pure arithmetic

Most treatments applied to an image are judgement calls, blending colors or shifting tones according to taste. Inversion makes no such judgement. It takes each of the three color channels and replaces the value with its opposite on the scale, which is why the result is a genuinely exact negative rather than a stylised one, and why applying it twice restores the original with nothing lost. That exactness is the whole appeal. The same operation that a darkroom once performed on a sheet of film now turns black line art into white line art for a dark page, pulls faint detail out of the darkest part of a scan by moving it to the brightest, and produces a recognizable negative in a single step. It is not a hue rotation and it is not a dark mode, since it changes lightness as well as color, and it does not touch the alpha channel, so transparency survives untouched. Know that it is a subtraction rather than a filter, check the greys, and the moment you invert PNG colors you will know exactly what you are going to get.

Smaller files, same picture.