November 2001
Intermediate to advanced
936 pages
68h 43m
English
CSSPrimitiveValue.getRGBColorValue( ) — get the RGBColor value
DOM Level 2 CSS
RGBColor getRGBColorValue( )
throws DOMException;The RGBColor object that represents the value of this CSSPrimitiveValue.
This method throws a DOMException with a code of
INVALID_ACCESS_ERR if the
primitiveType property is not
CSS_RGBCOLOR.
This method returns an RGBColor object
that represents a color. There is no corresponding
setRGBColorValue( ) method, but you can modify the
value by setting the properties of the returned RGBColor object.