Add getColor method to Tag objects