table of contents
other versions
- wheezy 1.4.1-4
ColorRGBToHLS(3w) | Wine API | ColorRGBToHLS(3w) |
NAME¶
ColorRGBToHLS (SHLWAPI.@)SYNOPSIS¶
VOID ColorRGBToHLS(
COLORREF cRGB,
LPWORD pwHue,
LPWORD pwLuminance,
LPWORD pwSaturation
)
DESCRIPTION¶
Convert an rgb COLORREF into the hls color space.PARAMS¶
cRGB [In] Source rgb value. pwHue [Out] Destination for converted hue. pwLuminance [Out] Destination for converted luminance. pwSaturation [Out] Destination for converted saturation.RETURNS¶
Nothing. pwHue, pwLuminance and pwSaturation are set to the converted values.NOTES¶
Output HLS values are constrained to the range (0..240). For Achromatic conversions, Hue is set to 160.IMPLEMENTATION¶
Declared in "shlwapi.h". Implemented in "dlls/shlwapi/ordinal.c". Debug channel "shell".Oct 2012 | Wine API |