反转指定颜色
#Include <WinAPIEx.au3>
_WinAPI_InvertColor ( $iColor )
$iColor | 将反转的颜色. 颜色由RGB或BGR格式指定. |
#Include <WinAPIEx.au3>
Opt('MustDeclareVars', 1)
Global $Color = 0xAADDFF
$Color = _WinAPI_InvertColor($Color)
ConsoleWrite('0x' & Hex($Color, 6) & @CR)
$Color = _WinAPI_InvertColor($Color)
ConsoleWrite('0x' & Hex($Color, 6) & @CR)