Hello,
I am in need of a way to access the priority color of a ticket from inside queue-ticket.tmpl.php
currently I have the following hard coded colors

to achieve the following:

However I want to move away from the hardcoded values and just pull the priority color out of the database.
Can someone please assist me?