Troubles making a Derived Boolean Tag work as a mask for a Short Tag

this is what I used to read (SINT)tag value. Is there a way to change the Background Color according to the tag values?

for example,

   if (Flt.0 = 1) then Red else green
  If(Flt.1 = 1) then Red else green

Thank you
Jinil