Inverts (negative) the specified color
#include <WinAPIGdi.au3>
_WinAPI_InvertColor ( $iColor )
$iColor | The color to be inverted. This color can be specified in RGB or BGR format. |
#include <WinAPIGdi.au3>
Local $iColor = 0xAADDFF
$iColor = _WinAPI_InvertColor($iColor)
ConsoleWrite('0x' & Hex($iColor, 6) & @CRLF)
$iColor = _WinAPI_InvertColor($iColor)
ConsoleWrite('0x' & Hex($iColor, 6) & @CRLF)