RGBColor class
RGBColor class
The RGBColor interface is used to represent any RGB color value. This interface reflects the values in the underlying style property. Hence, modifications made to the CSSPrimitiveValue objects modify the style property.
Inheritance: RGBColor
→
DOMObject
The RGBColor type exposes the following members:
Properties
Property | Description |
---|---|
red | This attribute is used for the red value of the RGB color. |
green | This attribute is used for the green value of the RGB color. |
blue | This attribute is used for the blue value of the RGB color. |
alpha | This attribute is used for the alpha value of the RGB color. |
Methods
Method | Description |
---|---|
get_platform_type | This method is used to retrieve ECMAScript object Type. |
to_native | Converts to the native color object. |
See Also
- module
aspose.html.dom.css
- class
DOMObject
- class
RGBColor