swap gray and white