![]() |
HSLColor |
Header: ColorPicker.h |
struct HSLColor { SmallFract hue; SmallFract saturation; SmallFract lightness; };
The SmallFract value for the hue.
The SmallFract value for the saturation, where 1 is full color.
The SmallFract value for lightness, where 1 is full white.
The HSLColor structure contains a colors hue, saturation, and lightness values. Your application can use an HSLColor structure to specify a color in a PMColor structure. For example, your application supplies a PMColor structure in a ColorPickerInfo block that it passes to the PickColor function. Note that the standard HLS order is altered to HSL.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)