Color models

The relevant functions are as follow.

Function or data type Description
GetBValue Returns the blue value in the specified color.
GetGValue Returns the green value in the specified color.
GetRValue Returns the red value in the specified color.
HSLtoRGB Convert the HSL color to RGB color.
HSVtoRGB Convert the HSV color to RGB color.
RGB Synthesize colors with red, green, and blue components.
RGBtoGRAY Convert the RGB color to grayscale.
RGBtoHSL Convert the RGB color to the HSL color.
RGBtoHSV Convert the RGB color to the HSV color.
BGR Swap colors in red and blue.