Mudar a cor de fundo de um nó (Change the background color of a ui node)

Bom dia!
Quero criar uma condição para mudar a cor de fundo de um nó UI, caso atinja o valor ele muda pra verde e caso o valor fique abaixa ele muda pra vermelho, já tentei de todo jeito e nada

Welcome to the forum Luis.

Are you using the original dashboard node-red-dashboard, or it's replacement @flowfuse/node-red-dashboard, or something else?

What ui-node are you working with - a button, text, ui-template?

Well @luis-75 since you have not replied, i assume you don't need any more help - ever.

Tchau.

Oi @luis-75
color is a string only. You can do it with a page refresh only, and you will need to fetch the string value from the server before passing it to the node. Then you can refresh the page and see the new color.

You could also use the status feature with different colors to represent the state of your node.