## Color.FromHsl method

Returns a new Color with the requested hue, saturation, saturation values.

```csharp
public static Color FromHsl(float hue, float saturation, float lightness)
```

| Parameter | Type | Description |
| --- | --- | --- |
| hue | Single | A float that represents the hue component of the color. |
| saturation | Single | A float that represents the saturation component of the color. |
| lightness | Single | A float that represents the lightness component of the color. |

### Return Value

A new instance of the [`Color`](../) class

### See Also

* class [Color](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
