This version is out of date, covering development from v6.0.0 to v6.6.5. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

TinderboxSix Icon

Color.blue


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Property   [other Property type actions]

 Item   [operators of similar scope]

 Color   [other Color operators]

 Baseline

 


$MyColor.blue

This property sets or returns the value of the blue channel of an RGB colour. The value may be set with a number (0-255) or hex number (#00 - #ff). The return value (if coerced to a string or number) is always a number, i.e. 255 and not #ff. By comparison the rgb() operator requires that the values for all three color channels be set. Examples:

$MyColor.blue = 255 

$MyColor.blue = "#ff" 

$MyOtherColor.green = $MyColor.blue (value of $MyOtherColor green channel is that of $MyColor blue channel)

$MyNumber = $MyColor.blue  (gives 255)

$MyString = $MyColor.blue  (gives "255")



A Tinderbox Reference File : Actions & Rules : Operators : Full Operator List : Color.blue