moves colors to struct