Converts a color from BGR to RGB and vice versa
#include <WinAPIGdi.au3>
_WinAPI_SwitchColor ( $iColor )
$iColor | The color to conversion. |
#include <WinAPIGdi.au3>
Local $iColor = 0xAADDFF
$iColor = _WinAPI_SwitchColor($iColor)
ConsoleWrite('0x' & Hex($iColor, 6) & @CRLF)
$iColor = _WinAPI_SwitchColor($iColor)
ConsoleWrite('0x' & Hex($iColor, 6) & @CRLF)