move color lookup to array