Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Advanced Color Imaging Reference /
Chapter 3 - ColorSync Manager Reference for Applications and Device Drivers / Constants and Data Types
Color Values


HLS Color Value

A color value expressed in the HLS color space is composed of hue, lightness, and saturation component values. Each color component is expressed as a numeric value within the range of 0 to 65535 inclusive. The hue value represents a fraction of a circle in which red is positioned at 0.

struct CMHLSColor {
   unsigned shorthue;       
   unsigned shortlightness;
   unsigned shortsaturation;
};

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996