---
url: /cube-functions/colorhueshift.md
description: Performs a hue shift on a color.
---

# COLORHUESHIFT&#x20;

Performs a hue shift on a color.

```js
COLORHUESHIFT(color, shift)
```

#### Parameters

* `color` - Hex, rgb(), or rgba() value for the color to invert.
* `shift` - Hue shift value in degrees.

#### Examples

```js
COLORHUESHIFT("#00FF00", 60)
```

**Result:** `rgba(0, 255, 255, 1.0000)`

**Note:** This will perform a hue shift of 60 degrees on the original green color.
