quantization works better on grayscale images

see https://github.com/ciromattia/kcc/pull/26