enhancement
It should be possible to calculate a color value in TL-Script.
Application
- color("red")
- color(r: 255, g: 0, b: 0)
- color(h: 0, s: 100, l: 50)
See online help for color().
The definition of a color can be analyzed with colorValues(). themeVar("my-var") can be used to access a color defined in the current theme.
Test
- /com.top_logic.demo/src/test/java/test/com/top_logic/demo/scripted/tlscript/TestColorFunction.script.xml