Simple convenience method to get hex value of a color