CSSPrimitiveValue.GetRGBColorValue

CSSPrimitiveValue.GetRGBColorValue method

This method is used to get the RGB color. 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.

public abstract RGBColor GetRGBColorValue()

Return Value

Returns RGB color value

See Also