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
SystemObject
  Aspose.Html.DomDOMObject
    Aspose.Html.Dom.CssRGBColor

Namespace: Aspose.Html.Dom.Css
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.9
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPlatformType
This method is used to retrieve ECMAScript object Type.
(Inherited from DOMObject.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToNative
Converts to the native color object.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also