---
title: "RGBColor.Alpha"
url: "https://reference.aspose.com/html/net/aspose.html.dom.css/rgbcolor/alpha/"
product: "Aspose.HTML for .NET API Reference"
description: "RGBColor Alpha property. Gets the alpha component value of this Color class"
---

## RGBColor.Alpha property

Gets the alpha component value of this Color class.

```csharp
public CSSPrimitiveValue Alpha { get; }
```

### Property Value

The alpha component value of this Color.

## Remarks

The color of each pixel is represented as a 32-bit number: 8 bits each for alpha, red, green, and blue (ARGB). The alpha component specifies the transparency of the color: 0 is fully transparent, and 255 is fully opaque. Likewise, an A value of 255 represents an opaque color. An A value from 1 through 254 represents a semitransparent color. The color becomes more opaque as A approaches 255.

### See Also

* class [CSSPrimitiveValue](../../cssprimitivevalue/)
* class [RGBColor](../)
* namespace [Aspose.Html.Dom.Css](../../../aspose.html.dom.css/)
* assembly [Aspose.HTML](../../../)
