When I set text color, text disappears

Hi,
I’d like to set text color when a variable change, I did this but red color doesn’t appear, instead, the text disappears, do you have any idea why ?

The function is binded to the text I want to change.

Thanks !

Ok, I found the solution. I was looking the back of the text. The front text was okay.