Operator Type:
Operator Scope of Action:
Operator Purpose:
Operator First Added:
Operator Altered:
Function [other Function type actions]
Item [operators of similar scope]
Color [other Color operators]
DEPRECATED - use Color.hue instead.
hue(color[,value])
From v5.7.0 this operator is deprecated in favour of the '.hue' operator.
hue(color)
returns the hue of a colour color, as a numeric value from 0 to 360. The color argument is a Color-type attribute or an expression or attribute reference resolving to a number in this range.
hue(color,value)
returns a modified color that has the same brightness and saturation as the original colour, but has an altered hue. The color argument is a colour type attribute or an expression resolving as the same. The range of value is 0 to 360 or an expression or attribute reference resolving to a number in this range. In hue terms 0 = 360, the values being degrees of the colour wheel. The primary hue values are 0 = red, 120 = green, 240 = blue , 360 = red (again).