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 operators

These operators let rules and actions manipulate Color-type attribute values. It can often convenient to tie the colour of a note to its properties - for example, to make overdue tasks bright red. For example, you can make overdue notes red, with a brightness proportional to how overdue they are.

Note that when setting a shade of a named colour in a string the shade value (lighter, darkest, etc.) comes before the colour, unlike listings in Get Info's attributes tab and the Inspector (e.g. Appearance Inspector, Interior sub-tab); thus "dark warm gray" not "warm gray dark", "light cyan" not "cyan light".

For example:

rgb($MyRed,255,255) 

$Color = brightness(hue(RGB(255,0,0),120),75) 



A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Types : Color operators