I have an image with a number of different colored polygons. Each polygon is intended to be a solid color, but the edges of each are softened and blurred between the colors (e.g., the pixels between a blue and red polygons are purplish). I was wondering if there is a way to convert these edge pixels in Photoshop to one of the colors they are intending to transition between. Here's a snap shot of the image
In this sample, I only want to have 4 distinct colors for all the pixels: green, dark tan, light tan, and blue; converting every color that is between those colors to maybe its closest color?
The lines of the pixel grid in my sample are not real, Photoshop has generated them just for this high zoom screenshot
I'm not searching smoothed vector curves with solid fills. This image is not scanned nor rasterized, it's drawn in Photoshop with a soft brush. I want to get it like it was drawn by using the pencil tool and 4 discrete colors. Every mixed color pixel should be converted to the nearest of those 4 colors.