Image Color Inverter
Turn an image into its negative by computing 255 − R/G/B for every pixel while leaving alpha untouched. Inversion runs automatically after loading, all in your browser, and exports as PNG.
FreeOnline Tool
Loading…
How to Use
- Click to select an image, or drag one onto the dashed area. Inversion runs automatically after loading — no extra button needed.
- Compare the “Original” and “Inverted / negative” previews side by side.
- Click “Download PNG” to save the result as inverted.png.
- Click “Load sample data” to try the built-in 640×400 gradient sample.
- Click “Clear” to remove the current image and load another one.
Features
- Each pixel's R, G, and B channels are converted to 255 minus the original value, producing a standard negative: pure black becomes pure white and vice versa.
- The alpha channel is left completely unchanged, so the transparency of semi-transparent PNGs is never inverted or overwritten.
- Selecting or dropping an image triggers inversion and preview generation automatically.
- Works with JPG, PNG, WebP, GIF, and other browser-decodable images; output is always PNG.
- All processing happens locally in the browser via Canvas; images are never uploaded.
Use Cases
Negative-style artwork
Convert photos or illustrations into a negative look for posters, covers, or visual experiments.
Inspecting tonal distribution
Flip an image to quickly assess exposure and the balance of light and dark areas during editing.
Inverted icons and textures
Invert black-and-white icons or textures to create light-on-dark versions.
Teaching RGB inversion
Use the built-in sample to show how 255 minus each channel produces a negative while alpha stays intact.
FAQ
Which image formats are supported?
JPG, PNG, WebP, GIF, and other images the browser can decode (the file type must be image/*). Animated GIFs are processed as a single static frame. Output is always PNG; files the browser cannot decode show a load failure message.
Does inverting twice restore the original image?
Yes. Applying 255 minus the value twice returns each channel to its original value, so inverting the result again restores the original image; alpha never changes.
Does inverting a transparent PNG change its transparency?
No. Only the RGB channels are modified and alpha keeps its original value. Fully transparent pixels still have their RGB values inverted, but they remain invisible because alpha is 0.
What does a color photo look like after inversion?
You get a photographic negative: highlights become dark, shadows become light, and red, green, and blue each shift to their complementary color — useful for artistic effects or judging tonal distribution.
Are images uploaded to a server?
No. Loading, pixel inversion, and PNG export all run locally in your browser; image data never leaves your device.
What is the downloaded filename?
The result is always exported as PNG with the filename inverted.png; rename it in the browser's download dialog if you need to keep multiple results.