Carbon


RGB2HSV

Header: ColorPicker.h Carbon status: Supported

Converts an RGB color to an HSV color.

void RGB2HSV (
    const RGBColor *rColor, 
    HSVColor *hColor
);
Parameter descriptions
rColor

A pointer to the RGBColor structure to be converted.

hColor

A pointer to an HSVColor structure for the converted color.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)