## Color.FromOklab method

Returns a new Color with the requested lightness, A, B values for OKLAB model.

```csharp
public static Color FromOklab(float lightness, float a, float b)
```

| Parameter | Type | Description |
| --- | --- | --- |
| lightness | Single | A float that represents the lightness component of the color. |
| a | Single | A float that represents the A component of the color. |
| b | Single | A float that represents the B 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](../../../)
