|
This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
|
| A Tinderbox Reference File : Actions & Rules : Operators : Action Operator Types : Color operators | aTbRef Site Map |
Color operators |
These operators let rules and actions manipulate color attribute values. It can often convenient to tie the color 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 color in a string the shade value (lighter, darkest, etc.) comes before the color, unlike listings in Info view and the Rename dialog; 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)
| Up: Action Operator Types | |
| Previous: Assignment operators | Next: Data manipulation operators |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]