added hex conversion method to color class