This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

Color.brightness


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]

 5.7.0

 


$MyColor.brightness

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

$MyColor.brightness = 50 (sets 50% brightness)

$MyColor2.brightness = $MyColor.brightness (matches brightness levels) 

$MyNumber = $MyColor.brightness (returns 50 - from above example)


Possible relevant notes (via "Similar Notes" feature):


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