---
title: "Color.FromHwb"
url: "https://reference.aspose.com/html/net/aspose.html.drawing/color/fromhwb/"
product: "Aspose.HTML for .NET API Reference"
description: "Color FromHwb method. Returns a new Color with the requested hue whiteness blackness values"
---

## Color.FromHwb method

Returns a new Color with the requested hue, whiteness, blackness values.

```csharp
public static Color FromHwb(float hue, float whiteness, float blackness)
```

| Parameter | Type | Description |
| --- | --- | --- |
| hue | Single | A float that represents the hue component of the color. |
| whiteness | Single | A float that represents the whiteness component of the color. |
| blackness | Single | A float that represents the blackness 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](../../../)
