HSVHUE

Syntax

=HSVHUE(color)

Arguments

ArgumentTypeDescription
colorColorThe 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