Common Graphics : Specifying colors

Specifying colors
To specify colors, Common Graphics defines the following class:
CgRGBColor
Specifies a color using integer values in the range 0-65535 giving the intensities of the color primaries red, green, and blue.
There are three ways to create a CgRGBColor in Common Graphics as follows: