Skip to content

Color Inverter

Invert the colors of any image, or get the inverse and complementary color of a hex code. Per-channel control and transparency kept. Runs in your browser.

Updated October 2026 · Free · Works entirely in your browser

Invert a hex or RGB color

Original
#1E90FF
rgb(30, 144, 255)
Inverted (RGB)
#E16F00
rgb(225, 111, 0) · contrast 1.00:1
Complementary (opposite hue)
#FF8D1E
rgb(255, 141, 30)
Brightness inverted (same hue)
#0072E1
rgb(0, 114, 225)

Invert the colors of an image

What inverting a color means

A screen colour is three numbers from 0 to 255: how much red, green and blue light to mix. Inverting replaces each with 255 minus itself. White (255, 255, 255) becomes black (0, 0, 0), pure red (255, 0, 0) becomes cyan (0, 255, 255), and a mid grey (128, 128, 128) barely changes. In hex the same rule works digit by digit: every digit becomes F minus that digit, so #1E90FF turns into #E16F00.

ColorHexInvertedComplementary
Red#FF0000#00FFFF (cyan)#00FFFF
Navy#000080#FFFF7F (pale yellow)#808000 (olive)
Dodger blue#1E90FF#E16F00#FF8D1E
Forest green#228B22#DD74DD#8B228B
Mid grey#808080#7F7F7F#808080

Inverse, complementary or brightness-inverted?

People say "opposite colour" and mean different things. The RGB inverse flips lightness too, so a dark navy comes back pale yellow — right for negatives and for checking dark-mode artwork. The complementary colour keeps the lightness and saturation and only swings the hue halfway round the wheel, so navy gives olive — what designers want for an accent colour. Brightness inverted keeps the hue and swaps light for dark, which turns a light-themed diagram into a dark one without changing the brand colours.

Good uses for an inverted image

  • Dark-mode versions of diagrams and screenshots. Try Invert brightness first; it keeps blue links blue.
  • Reading faint text or detail. Pencil on paper, X-rays and star fields are often clearer inverted.
  • Film negatives. Black and white negatives just need RGB inversion. Colour negatives also need their orange base removed — the Negative Image Converter does both.
  • Checking a design. Inverting a layout makes balance problems your eye has stopped noticing jump out.
  • Matching colours. Pick a colour from a photo with the Image Color Picker, then paste its hex above for its inverse and complement.

Invert colors on your device instead

To invert the whole screen rather than one picture: on Windows press Win + Ctrl + C after turning on colour filters (Settings › Accessibility › Color filters), or use Magnifier's Ctrl + Alt + I. On a Mac use System Settings › Accessibility › Display › Invert colors. On iPhone, Settings › Accessibility › Display & Text Size › Smart Invert or Classic Invert. On Android, Settings › Accessibility › Color inversion. These change what you see, not the file — to save an inverted copy, use the tool on this page.

Frequently Asked Questions

Everything you need to know about image conversion.

Subtract each of its red, green and blue values from 255. #1E90FF (30, 144, 255) becomes (225, 111, 0), which is #E16F00. In hex, each digit is replaced by F minus that digit, so you can even do it in your head: 1E90FF becomes E16F00.

Not quite. The RGB inverse flips brightness as well as hue, so a dark blue inverts to a light orange. The complementary colour is the opposite point on the colour wheel at the same lightness and saturation, so a dark blue gives a dark orange. This tool shows both; pick Complementary for colour schemes and Invert (RGB) for negatives.

Drop the image into the tool above. Invert (RGB) gives the classic negative, the same as Ctrl+I in Photoshop or CSS filter: invert(1). Choose which channels to flip, or blend with the intensity slider, then save as PNG, JPG or WebP.

Yes. Only the red, green and blue values change; the alpha channel is left exactly as it was, so a transparent PNG logo stays transparent. Save as PNG or WebP to keep it.

Yes. Untick the channels you want to keep. Inverting only blue, for example, turns yellows blue and blues yellow while leaving reds and greens alone — a quick way to get unusual false-colour effects.

Invert it again. RGB inversion is exactly reversible, so a second pass returns every pixel to its original value, as long as you saved the inverted copy as PNG rather than a lossy JPG.

No. Inverting runs on a canvas in your browser; the picture never leaves your device, and there is no watermark or sign-up.