Invert the colours of any image
This tool produces a photographic negative of any image: every colour is
replaced by its opposite on a local <canvas>. It is the digital equivalent of a
film negative, and is handy for previewing dark-mode artwork, recovering detail in
scanned negatives, or creating high-contrast graphic effects.
How inversion works
For each pixel, the tool computes:
inverted channel = 255 − original channel
applied independently to the red, green and blue channels. Pure white (255, 255, 255) becomes pure black (0, 0, 0); a mid grey stays grey; and complementary colours swap. The alpha channel is never modified, so transparency is preserved.
Standard invert vs preserve brightness
- Standard invert flips colour and lightness — a bright photo becomes a dark negative. This is the classic film-negative look.
- Preserve brightness inverts the hue but blends each pixel back toward its original luminance, so light areas stay light and dark areas stay dark. This is useful when you want a colour shift without turning the whole image dark.
Common uses
- Converting scanned film negatives back to positives for a quick preview.
- Generating a dark-on-light or light-on-dark variant of a logo or diagram.
- Creating striking, high-contrast graphic effects for posters and social posts.
Everything is processed locally on a canvas, so your image is never uploaded.