Result color codes
- HEX#C47D09
- RGBrgb(196, 125, 9)
- HSLhsl(37, 91%, 40%)
- HSBhsb(37, 95%, 77%)
- CMYKcmyk(0%, 36%, 95%, 23%)
Invert any color to its negative — plus its complement, inverted lightness and grayscale.
A color inverter takes a color and flips it to its opposite. The classic version is the negative: every channel is subtracted from 255, so red (255, 0, 0) becomes cyan (0, 255, 255) and a light background turns dark. It's the same math your operating system uses when you switch on "invert colors" for accessibility, and it's how a film negative works. Paste a HEX code, drag the RGB sliders, or pick a color off your screen, and the inverted version appears next to it straight away, with copy-ready codes in HEX, RGB, HSL, HSB and CMYK.
We built this because "invert" means a few different things depending on who's asking, so the tool shows all of them side by side. Alongside the negative you get the complementary color (the true opposite on the color wheel), an inverted-lightness version that keeps the hue but swaps light for dark, and a grayscale conversion. Everything runs locally in your browser — nothing is uploaded — so it's quick and private whether you're checking one swatch or a whole palette.
filter: invert() effect with real values.Want to invert a photo instead of a single color? Use our Image Inverter. You can also grab colors with the Color Picker or explore full details for any color in the Color Information tool.
To invert a color you subtract each of its red, green and blue values from 255. So a color with RGB (30, 90, 200) inverts to (225, 165, 55). In HEX, that means replacing each pair of digits with its complement — the tool does the arithmetic for you and shows the result in every common format.
Not usually. Inverting (the negative) works on the raw red, green and blue channels, while the complementary color is the hue directly opposite on the color wheel with the same saturation and lightness. For a fully saturated primary like pure red they happen to match, but for most colors — especially muted or dark ones — they come out different. That's why we show both.
Black (#000000) inverts to white (#FFFFFF), and white inverts back to black — they're exact opposites. A mid-gray like #808080 inverts to #7F7F7F, which is almost the same shade, so inverting a near-gray color barely changes it and gives very low contrast.
For the negative, yes — inverting the RGB channels a second time returns the exact color you started with, because subtracting from 255 is its own reverse. Use the "Use the result as the new input" button to try it. Grayscale is not reversible, since turning a color to gray throws away its hue.
Yes. All the math runs in your browser with JavaScript. Nothing you type or pick is uploaded, saved to a server or logged, and the tool keeps working offline once the page has loaded.