---
title: "Color.WithHue"
url: "https://reference.aspose.com/html/net/aspose.html.drawing/color/withhue/"
product: "Aspose.HTML for .NET API Reference"
description: "Color WithHue method. Creates copy of the Color with specified Hue"
---

## Color.WithHue method

Creates copy of the Color with specified Hue.

```csharp
public Color WithHue(float hue)
```

| Parameter | Type | Description |
| --- | --- | --- |
| hue | Single | Value of Hue. |

### Return Value

&gt;A new instance of the [`Color`](../) class.

### See Also

* class [Color](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
