Converts colors from hue-luminance-saturation (HLS) to RGB format
#include <WinAPIGdi.au3>
_WinAPI_ColorHLSToRGB ( $iHue, $iLuminance, $iSaturation )
$iHue | HLS hue value. |
$iLuminance | HLS luminance value. |
$iSaturation | HLS saturation value. |
Search ColorHLSToRGB in MSDN Library.
#include <WinAPIGdi.au3>
ConsoleWrite('RGB: 0x' & Hex(_WinAPI_ColorHLSToRGB(20, 120, 240), 6) & @CRLF)