Finds the best match for pixel in palette (currently by checking for minimum euclidean distance in rgb colorspace)
Finds the best match for pixel in palette (currently by checking for minimum euclidean distance in rgb colorspace)