
## with_alpha {#float}

Creates copy of the Color with specified alpha component.


### Returns 


A new instance of the [`Color`](/html/python-net/aspose.html.drawing/color) class


```python
def with_alpha(self, alpha):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| alpha | float | Value of Alpha component |



### See Also
* module [`aspose.html.drawing`](../../)
* class [`Color`](/html/python-net/aspose.html.drawing/color)
