Added method to return the color given the type of history item returned (dev, test or design)