change colors to hex codes