I'm looking for a way to have only a set of predetermined colors in my render, to generate pixel-art with those colors only.
The closest I got to the desired effect was by using constant color ramps in materials (like in a simple toon shader node setup), but the colors are not exactly the ones picked once rendered. Using a constant color ramp during compositing failed too since it maps colors by value, and not to the closest color available in the ramp.
Any idea?