• Input formats. 3-digit (#RGB), 4-digit (#RGBA), 6-digit (#RRGGBB), and 8-digit (#RRGGBBAA) codes all work, with or without the leading #, in upper or lower case. Short codes are expanded first, so #0F8 is read as #00FF88 and inverts to #FF0077. You can also pick a color with the color picker.
  • Transparency. In an 8-digit code the last two digits are the alpha value. They are not inverted: #111827CC becomes #EEE7D8CC, so the inverted color keeps the same opacity.
  • Copy in three formats. The output table lists the original and inverted color as HEX, RGB, and HSL, each with its own Copy button. Colors with alpha are written as rgba() and hsla(), ready to paste into CSS.
  • Share link with the color in it. The page address updates with ?color= and the current HEX value. Copy Share URL puts that link on your clipboard, and anyone who opens it lands on the same color and its inverse.

The tool inverts one color at a time. To invert every pixel of a screenshot or photo, use the image Color Inverter.