I made an expression that changes the color when the icon is activated, but it doesn't work well.
What should I do?
I made an expression that changes the color when the icon is activated, but it doesn't work well.
What should I do?
color
is a vision expression for java color, not a css color for perspective.
https://docs.inductiveautomation.com/display/DOC81/color
You could use the css string "rgb(255,0,0)"
instead. or just the hexstring (or hsl if you want to be special). some basic colors work with just a word too (like "red", "blue" "green")