Combine separate RGB component to one single numerical value.
The RGB component have to be in a range of 0-255.
There can also be an alpha component in a range of 0.0-1.0 (0 = transparent).
Note: Companion's components can use any CSS color string and you should prefer these strings. E.g.for a button style you can also use '#ff8800' or 'rgb(255, 128, 0)' without calling a function.
Combine separate RGB component to one single numerical value. The RGB component have to be in a range of 0-255. There can also be an alpha component in a range of 0.0-1.0 (0 = transparent).
Note: Companion's components can use any CSS color string and you should prefer these strings. E.g.for a button style you can also use
'#ff8800'
or'rgb(255, 128, 0)'
without calling a function.Example