ProcessingGUI: quantized the colors to make contours