Color Values for JSONObjects
For the setColor() methods used in color coding of fields, the following types of color value can be specified for each element in the JSONObject:
The name of a color, for example:
Red, Yellow, Black. The values are not case sensitive.A hexadecimal number for a color, for example:
#FF0000,the number for red.An RGB value for a color, for example:
rgb(0, 0, 255), the value for blue.