Convert a palette into grayscale. Uses fast luminance-approximation.