How to change color of the gauge node?

Hi all:
I'm using typ Gauge of the node and want to change the colors depending on some conditions befor the node.
E.g. temp1>temp2 ... all colors are red
temp1 <=temp2 .... all colors are gray

Any idea hoe to implement?

Are you using the old (now deprecated node-red-dashboard) or the newer @flowfuse/node-red-dashboard? For the new one the help text for the node tells you how to change the segment colours by sending in a message, assuming that is what you are describing. I don't know whether it is possible on the old dashboard.