-
Notifications
You must be signed in to change notification settings - Fork 260
Defining Colors
Francesco edited this page Jul 6, 2017
·
18 revisions
t-ui supports colors in hexadecimal representations ("#aarrggbb") and several string representations.
#aarrggbb
- the character "#" is needed: if you don't include it, you will notice unexpected behaviors
- "aa" represents the alpha channel, the transparency. "00" means "completely transparent", "FF" means "fully opaque". So, "88" means "~50% transparent"
- "rr" represents the red color
- "gg" represents the green color
- "bb" represents the blue color
You can use those string that represents simplified colors, which worked without problem:
- red
- blue
- green
- black
- white
- gray
- cyan
- magenta
- yellow
- lightgray
- darkgray
- grey
- lightgrey
- darkgrey
- aqua
- fuchsia
- lime
- maroon
- navy
- olive
- purple
- silver
- teal
#990000
Francesco Andreuzzi, Italy, [email protected]