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 Hierarchy

Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.1
Syntax
public class RGBColor : DOMObject

The RGBColor type exposes the following members.

Properties
  NameDescription
Public propertyAlpha
This attribute is used for the alpha value of the RGB color.
Public propertyBlue
This attribute is used for the blue value of the RGB color.
Public propertyGreen
This attribute is used for the green value of the RGB color.
Public propertyRed
This attribute is used for the red value of the RGB color.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToNative
Converts to the native color object.
Public methodToString (Inherited from Object.)
See Also