Reference

ColorHLSToRGB(3w)

NAME

ColorHLSToRGB (SHLWAPI.@)

SYNOPSIS

COLORREF ColorHLSToRGB
(
WORD wHue,
WORD wLuminosity,
WORD wSaturation
)

DESCRIPTION

Convert from hls color space into an rgb COLORREF.

PARAMS

wHue [In] Hue amount.

wLuminosity [In] Luminosity amount.

wSaturation [In] Saturation amount.

RETURNS

A COLORREF representing the converted color.

NOTES

Input hls values are constrained to the range (0..240).

IMPLEMENTATION

Declared in "shlwapi.h".

Implemented in "dlls/shlwapi/ordinal.c".

Debug channel "shell".

History