This is a MySql function that will convert a color hex code to rgb.