Function Reference


_WinAPI_ColorHLSToRGB

Converts colors from hue-luminance-saturation (HLS) to RGB format

#include <WinAPIGdi.au3>
_WinAPI_ColorHLSToRGB ( $iHue, $iLuminance, $iSaturation )

Parameters

$iHue HLS hue value.
$iLuminance HLS luminance value.
$iSaturation HLS saturation value.

Return Value

Returns the RGB value.

See Also

Search ColorHLSToRGB in MSDN Library.

Example

#include <WinAPIGdi.au3>

ConsoleWrite('RGB: 0x' & Hex(_WinAPI_ColorHLSToRGB(20, 120, 240), 6) & @CRLF)