Important: The information in this document is obsolete and should not be used for new development.
RGB2HSL
Converts an RGB color to an HSL color.
pascal void RGB2HSL (const RGBColor *rColor, HSLColor *hColor);
rColor
- A pointer to a Color QuickDraw
RGBColor
structure specifying the RGB color to be converted.hColor
- A pointer to an
HSLColor
structure (page 2-33). On output, the converted color.DISCUSSION
TheRGB2HSL
function converts the RGB color specified in therColor
parameter to the HSL color pointed to in thehColor
parameter.