extracting colors to variables