.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH ColorRGBToHLS 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBColorRGBToHLS\fR (SHLWAPI.@) .SH SYNOPSIS VOID ColorRGBToHLS ( COLORREF \fIcRGB\fR, LPWORD \fIpwHue\fR, LPWORD \fIpwLuminance\fR, LPWORD \fIpwSaturation\fR ) .SH DESCRIPTION .PP Convert an rgb \fBCOLORREF\fR into the hls color space. .SH PARAMS \fIcRGB\fR \fB[In]\fR Source rgb value. .PP \fIpwHue\fR \fB[Out]\fR Destination for converted hue. .PP \fIpwLuminance\fR \fB[Out]\fR Destination for converted luminance. .PP \fIpwSaturation\fR \fB[Out]\fR Destination for converted saturation. .PP .SH RETURNS .PP Nothing. \fIpwHue\fR, \fIpwLuminance\fR and \fIpwSaturation\fR are set to the converted values. .SH NOTES .PP Output \fBHLS\fR values are constrained to the range (\fB0..240\fR). For Achromatic conversions, Hue is set to \fB160.\fR .SH IMPLEMENTATION .PP Declared in \fB"shlwapi.h"\fR. .PP Implemented in \fB"dlls/shlwapi/ordinal.c"\fR. .PP Debug channel \fB"shell"\fR.