Color Inverter
Invert any color and see the original and inverted swatches side by side, copy either hex code.
The inverted color is each RGB channel subtracted from 255 (255-R, 255-G, 255-B) — the color's opposite, not necessarily a matching or complementary color for design purposes.
Need the opposite? Color Picker
What is Color Inverter?
Pick a color or type a hex value to see its inverted color instantly, both shown as swatches side by side. Inversion subtracts each RGB channel from 255, producing the color's mathematical opposite. Useful for quickly previewing a negative/inverted version of a color for a design, or generating a contrasting accent from an existing brand color.
Color Inversion Reference Table
| Color | Inverted |
|---|---|
| #000000 (black) | #FFFFFF (white) |
| #FFFFFF (white) | #000000 (black) |
| #FF0000 (red) | #00FFFF (cyan) |
| #008000 (green) | #FF7FFF |
| #0000FF (blue) | #FFFF00 (yellow) |
| #FFFF00 (yellow) | #0000FF (blue) |
| #00FFFF (cyan) | #FF0000 (red) |
| #FF00FF (magenta) | #00FF00 (green) |
How to Use the Color Inverter
- 1
Pick a Color or Type Hex: Use the swatch picker, or type a hex value directly.
- 2
Read the Inverted Result Instantly: The original and inverted swatches appear side by side automatically.
- 3
Copy Either Hex Code: Use the copy button on either swatch.
How This Tool Inverts a Color
This tool inverts by subtracting each RGB channel from 255: inverted R = 255−R, inverted G = 255−G, inverted B = 255−B. It's a per-channel numeric flip, not a hue rotation. The inverted color sits at the opposite corner of RGB color space from the original, which is a different thing from a color wheel's "complementary" color (opposite by hue, same saturation and lightness). Because it's channel subtraction rather than a hue shift, inverting a color twice always returns the exact original color, and inverting a fully neutral gray (equal R, G, B) always produces another neutral gray.
How to Invert a Color
Worked example: pure red, #FF0000 (RGB 255, 0, 0). Inverted R = 255 − 255 = 0 Inverted G = 255 − 0 = 255 Inverted B = 255 − 0 = 255 Result: #00FFFF (cyan), the mathematical opposite, not red's color-wheel complement (which would be cyan-leaning too here, but that's a coincidence of red's specific position, not a rule that holds for other colors).
Frequently Asked Questions
Common questions about Color Inverter.