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

HSV Color Value

A color value expressed in the HSV color space is composed of hue, saturation, and value 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 CMHSVColor {
   unsigned shorthue;      
   unsigned shortsaturation;
   unsigned shortvalue;    

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 NOV 1996