TintShelf
Interface

Color inverter

Invert colors of a hex code or an image: type a code to get its inverted color, or use the image inverter below, which also works as a photo inverter. The image never leaves your device.

Your color

Inverted

Complementary

Invert image colors

Free. Nothing uploaded — your image never leaves your device.

How do you invert a color?

Color inversion subtracts each RGB channel from 255. #FF5733 is red 255, green 87 and blue 51, so its inverse is red 0, green 168 and blue 204: #00A8CC. Inverting twice gives back the original.

Is the inverted color the same as the complementary color?

No. Inverting also flips lightness, so dark navy becomes a light yellow and black becomes white. The complementary color on this site turns the hue by 180 degrees in OKLCH and keeps the lightness, which is why the two can look quite different.

What is the opposite of green?

By inversion, green #008000 becomes #FF7FFF, a light magenta. On the screen color wheel the opposite of green is magenta, and on the painter’s wheel of red, yellow and blue it is red; the guide to complementary colors explains why the wheels differ.

How do I invert the colors of an image?

Choose an image above. Your browser inverts every pixel in a canvas on this page, keeps transparency as it is, and lets you download the result as a PNG. The image is not uploaded or stored.

Inverted colors: ready answers

ColorNamed colorInvertedComplementary (OKLCH)
#FF0000Red#00FFFF#009AAC
#FFA500Orange#005AFF#85C0FF
#FFFF00Yellow#0000FF#F4F3FF
#008000Green#FF7FFF#963BA3
#0000FFBlue#FFFF00#6E5000
#800080Purple#7FFF7F#005E23
#FFC0CBPink#003F34#9BE4DC
#000000Black#FFFFFF#000000
#FFFFFFWhite#000000#FFFFFF
#808080Gray#7F7F7F#808080
#000080Navy#FFFF7F#332400
#008080Teal#FF7F7F#9E585E

Related tools

Screens show the same code differently, and print adds more variation. CMYK here is the plain formula without a printer profile, so use it as a starting point, not a press value. Contrast numbers follow WCAG 2.x.