Invert image colors
Create an image negative while retaining dimensions and transparency.
Maximum 25 MB and 40 megapixels. Each dimension supports up to 16,384 px. Everything is processed in your browser.
View generated image
Reprocessing can change metadata and color profiles. JPG does not preserve transparency. Inspect background and opacity in the preview; each tool’s settings determine the result.
Your files are processed here, on your device
We do not send your file or text contents to a processing server. No account is needed and there is no daily operation quota. Individual tools have size limits to protect your device’s memory.
A connection is needed to load the site and its resources. Hosting may receive technical visit data. Favorites store only tool identifiers in this browser.
How we handle your data →How to use this tool
- Load a PNG, JPG or WebP image within the limits.
- Select output format and quality for JPG or WebP.
- Invert, compare the preview and download the prepared copy.
An example you can verify
Check inversion of a red pixel without changing its opacity.
Example input
One RGBA pixel: 255, 0, 0, 128.
Expected result
RGBA: 0, 255, 255, 128.
Red becomes cyan and alpha remains 128. The preview may display colors composited over its background.
Invert image colors: uses and practical guidance
Inverting colors creates a digital negative by replacing each red, green and blue channel with 255 minus its value. A red pixel with channels 255, 0 and 0 becomes cyan with 0, 255 and 255. Black becomes white and white becomes black. Dimensions remain unchanged, and content is neither cropped nor reordered. The effect can help explore a graphic variation or inspect contrast, but it does not automatically reconstruct a photographic negative through exposure correction, color balancing or compensation for a film's colored mask. The operation is a direct channel transformation rather than a photographic restoration workflow.
Opacity is not inverted. In PNG and WebP, a semitransparent pixel retains its alpha channel while its color channels change. Consequently, the color seen in the preview can depend on the background behind it. A fully transparent region remains transparent even though its internal channels change. Choose a compatible format when transparency must be retained. JPG uses white behind transparent areas and cannot preserve alpha. Format selection is therefore part of reviewing the result, particularly when the image will later be placed over another design whose background differs from the preview surface.
Inversion operates on the image decoded by the browser, not on RAW camera data or a high-precision color representation. Canvas channels use eight-bit values. Reprocessing may change metadata, color profiles and compression. JPG and WebP export quality can introduce additional differences; PNG is useful for examining the transformation without adding lossy output compression. The downloaded file may be larger or smaller than the source. Inverting colors does not guarantee a size reduction and is not a substitute for image compression. Compare visual quality and output size according to the intended use rather than assuming either property follows directly from the color transformation.
For RGB values, applying inversion twice restores the original channels. Downloading and reopening files between operations can nevertheless introduce rounding, color changes or compression loss, so this is not exact restoration of the original file. Always retain the source when reversal may be required. Supported inputs are PNG, JPG and WebP up to 25 MB, forty megapixels and 16,384 pixels per dimension. Try a small sample containing red, white, black and transparency before processing a large image. Compare the prepared result in the preview and choose to save the downloaded copy when it meets your needs, checking it again in the destination application if its background or color handling differs.
Settings and limits
Load PNG, JPG or WebP and choose an output format. Each RGB channel becomes 255 minus its original value. PNG and WebP retain alpha; JPG uses white behind transparent areas. Maximum 25 MB, 40 megapixels and 16,384 px per dimension.
Frequently asked questions
Is transparency inverted too?
No. Alpha is retained in formats supporting transparency. Colors are inverted after the browser decodes the image.