Single Stat Coloring based on Zabbix trigger count


I´m using Zabbix as Data Source and try to display the value of a log file within a Single Stat panel.
This work very well as you can see below. But as I have a lot of this tiles my question is:

Is there a way to coloring the background based on ether a trigger word (e.g. “Error”) or using the zabbix trigger count of the same item within a single stat panel?

Any idea, on how i can achieve that? Or any workaround?