ColorHLSToRGB function (shlwapi.h)
Converts colors from hue-luminance-saturation (HLS) to RGB format.
Syntax
COLORREF ColorHLSToRGB(
WORD wHue,
WORD wLuminance,
WORD wSaturation
);
Parameters
wHue
Type: WORD
The original HLS hue value.
wLuminance
Type: WORD
The original HLS luminance value.
wSaturation
Type: WORD
The original HLS saturation value.
Return value
Type: COLORREF
Returns the RGB value.
Requirements
| Minimum supported client | Windows 2000 Professional, Windows XP [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Target Platform | Windows |
| Header | shlwapi.h |
| Library | Shlwapi.lib |
| DLL | Shlwapi.dll (version 5.0 or later) |