Fixing gradient color lookup