Gets the color code for Hexadecimal and RGB.