---
title: "Color.FromOklch"
url: "https://reference.aspose.com/html/net/aspose.html.drawing/color/fromoklch/"
product: "Aspose.HTML for .NET API Reference"
description: "Color FromOklch method. Returns a new Color with the requested luminance chroma hue values for OKLAB model"
---

## Color.FromOklch method

Returns a new Color with the requested luminance, chroma, hue values for OKLAB model.

```csharp
public static Color FromOklch(float luminance, float chroma, float hue)
```

| 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. |

### Return Value

A new instance of the [`Color`](../) class

### See Also

* class [Color](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
