Tinderbox v10 Icon

Color.hue()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Property  [other Property type actions]

 Item  [operators of similar scope]

 Color  [other Color operators]

 Number [about Number data type]

 v5.7.0

 Baseline

 As at baseline


Syntax note: Operators without any defined mandatory arguments may omit their empty closing parentheses


Color.hue()

Color.hue

This property sets or returns the hue value of the associated Color-type attribute. The value is a number in the range 0-360. This operator is intended to replace the existing hue() operator. Examples:

$MyColor.hue = 270; (sets hue of 270 degrees)
$MyColor2 = $MyColor.hue; (matches hues) 
$MyNumber = $MyColor.hue; (returns 270, from above example)