How to achieve toon rendering

Thanks. Now it’s similar, except the edges are in the same color. Any way for them to have the color that the objects faces have ?