getRGBColorValue()
method of the CSSPrimitiveValue
interface is used to get an RGB color value. If this CSS value doesn't contain a RGB color value, a DOMException
is raised. Modification to the corresponding style property can be achieved using the RGBColor
interface.