Color models

The relevant functions are as follows.

Function or data type Description
GetBValue Return the blue value in the specified color.
GetGValue Return the green value in the specified color.
GetRValue Return 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 red and blue in a color.
(贡献者:慢羊羊  编辑