I do this with multiple expressions each formatted with a different color on the panel. For example:
Expression #1: IF(Driver.Analog<10,Driver.Analog,"")
Expression #2:IF(Driver.Analog>10 AND Driver.Analog<20,Driver.Analog,"")
Expression #3: IF(Driver.Analog>20,Driver.Analog,"")
Expressions 1,2, and 3 would be formatted with different colors. The if statement with the null output when the condition is false ensures no two expressions are visible at the same time.
Regards,
Tommy Scharmann