Color.FromHsl
Color.FromHsl method
Returns a new Color with the requested hue, saturation, saturation values.
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
- assembly Aspose.HTML