code for color reduction in an image by simply manipulating the pixels