November 2001
Intermediate to advanced
936 pages
68h 43m
English
RGBColor — a CSS color value
DOM Level 2 CSS
readonly
CSSPrimitiveValue
blue
The blue component of the color.
readonly
CSSPrimitiveValue
green
The green component of the color.
readonly
CSSPrimitiveValue
red
The red component of the color.
This interface represents a color specified in the RGB color space. The properties are CSSPrimitiveValue objects that specify the values of the red, green, and blue components of the color. Each CSSPrimitiveValue holds a number in the range 0-255 or a percentage in the range 0 -100%.
CSSPrimitiveValue.getRGBColorValue( )