Possible to force one colour for one face?

Let’s say that I don’t want realism, and want to create things for illustration. Is it possible to force each face to have one solid colour (but not all the faces of a cube have the same colour, depending on the light), not some sort of gradation? I have tried Eevee + “Freestyle”, but there is gradation, and some weird artefact (on the right cube).