How to dynamically change the background color of the label?

How to dynamically change the background color of the label?

my label structure is like this


|Title1|_____
|sub1| sub2| Val_|

I would like to change the background color of the label “Title1” based on value of the field “Val”