Colour table rows based on string value

I want to colour table rows based on a string value.
I can set a value in the database for each string and use the value>string feature, however I’m then still limited by three colours based on thresholds.

The new gauge panel is able to create multiple thresholds for a metric, can this feature not be added to the singlestat and table panels to enable more flexibility in colouring dashboards???