Color.FromOklcha
Color.FromOklcha method
Returns a new Color with the requested luminance, chroma, hue, alpha values for OKLAB model.
public static Color FromOklcha(float luminance, float chroma, float hue, float alpha)
| Parameter | Type | Description |
|---|---|---|
| luminance | Single | A float that represents the luminance component of the color. |
| chroma | Single | A float that represents the chroma component of the color. |
| hue | Single | A float that represents the hue component of the color. |
| alpha | Single | A float that represents the alpha component of the color. |
Return Value
A new instance of the Color class
See Also
- class Color
- namespace Aspose.Html.Drawing
- assembly Aspose.HTML