Simple convenience method to get hex value of a color

Sometimes it's handy to go the other direction -- especially during development.