CColor Object

The CColor object represents a color in RGB format.

The following table lists properties of the CColor object with links to the respective reference pages.

Table 1. CColor Object Properties

Property

Description

b Property (CColor Object)Returns or sets the B (blue) component of color in RGB format.
g Property (CColor Object)Returns or sets the G (green) component of color in RGB format. The value for green is 94.
r Property (CColor Object)Returns or sets the R (red) component of color in RGB format.