Change color of tile dynamically & SuperTiles

Is there a way to change either the background color or text color based on attribute text? I’d like to try and update the background or text color based on the Air Quality text

e.g. in the example below, I’d change the text to green, if it were “Unhealthy” i’d turn it to red etc...