# ColorHsv.WithHue

```csharp
ColorHsv WithHue(float hue)
```

Returns a copy of this color with given Hue value.

### Parameters

- `hue` (`float`): The Hue override.

### Returns

`ColorHsv`: The new color.

Declared in [ColorHsv](/api/ColorHsv).
Assembly: `Sandbox.System`.
