Text color based on sensor values

Go here and check for examples.
Then go here to discuss any card-mod stuff. Also examples may be found in the end of the 1st post (a link to examples is provided there).