Added a color to hex function