HSVHUE
Gets the hue channel of the specified color in the HSV colorspace. Returns an integer from 0 to 360. For more information about hue, see: https://en.wikipedia.org/wiki/Hue
Syntax
=HSVHUE(color)
Arguments
| Argument | Type | Description |
|---|---|---|
| color | Color | The color |
Examples
=HSVHUE("#0000ff")→240
Gets the hue for the color represented by the hex color code #0000ff (blue)
=HSVHUE(RGB(0, 255, 0))→120
Gets the hue for a color having an RGB value of green
=HSVHUE(0)→#ERROR!
Attempts to get the hue from an integer, which is invalid because it cannot be converted to a color
Updated over 1 year ago