Can I color rows in a topic list according to tags?

In a topic list, such as the one shown below, I’d like to be able to assign tags that affect display of the row, like changing its background color.

I see that category is in the <tr>'s class list but not tags. Is there a way to get them there?

Or some way we can change the display of different topics?

I see CSS classes for tags in the trs here in Meta homepage.

<tr data-topic-id="245569" id="ember565" class="topic-list-item category-support tag-data-explorer unseen-topic ember-view">