removing grayscale palette