1

Conditional color change of variable

I'm trying to change the color of a variable based on it's value. Either my formula is wrong or Kustom is treating my variable as a string rather than a variable, is that possible?

$if(br(tasker, hw3)>=37.0 gv(red), if(br(tasker,hw3)>=35.0, gv(green), gv(orange)))$