
## from_hsla {#float-float-float-float}

Returns a new Color with the requested hue, saturation, saturation, alpha values.


### Returns 


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


```python
def from_hsla(self, hue, saturation, lightness, alpha):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| hue | float | A float that represents the hue component of the color. |
| saturation | float | A float that represents the saturation component of the color. |
| lightness | float | A float that represents the lightness component of the color. |
| alpha | float | A float that represents the alpha component of the color. |



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