HUE

Syntax

=HUE(color)

Arguments

ArgumentTypeDescription
colorColorThe color

Examples

=HUE("#0000ff")240

Gets the hue for the color represented by the hex color code #0000ff (blue)

=HUE(RGB(0, 255, 0))120

Gets the hue for a color having an RGB value of green

=HUE(0)#ERROR!

Attempts to get the hue from an integer, which is invalid because it cannot be converted to a color