refactored and working colour picker
switched to hsv color space, implemented proper quantization and identification of colours