Convert colors to variables.