colorwheel
| ConvertHSBToRGB() | ConvertRGBToHSB() |
ConvertHSBToRGB()
Synopsis
void ConvertHSBToRGB(
struct ColorWheelHSB * hsb,
struct ColorWheelRGB * rgb );
Function
Converts a color from an HSB representation to an RGB representation
Inputs
hsb - filled-in ColorWheelHSB structure containing
the values to convert
rgb - structure to receive the converted values
ConvertRGBToHSB()
Synopsis
void ConvertRGBToHSB(
struct ColorWheelRGB * rgb,
struct ColorWheelHSB * hsb );
Function
Converts a color from an RGB representation to an HSB representation
Inputs
rgb - filled-in ColorWheelRGB structure containing
the values to convert
hsb - structure to receive the converted values


