Alarm Status Table coloring rows by tag group?

I have some tags that have alarms on them that are not very serious and should not really be considered alarms at all, but we want them displayed and colored differently. We want to do this based on tag groups - we have a group called ‘events’ for example that we want colored differently, and a tag group called ‘warnings’ that we want to do a different color.

How can I use the tag group names to style the alarm rows with the expression in the Alarm Rows Styles customizer?

Alternatively, our alarm have a unique leading word in the label field that also differentiates them. The alarm labels are of the form “WARNING: something something” or “EVENT: something something” only for the labels if thats able to be used.

Vision or Perspective?