convert colors to variables