Stylized gradient materials

Hi! I’m looking to recreate npr stylised materials like these.

Specifically in the first image, how to get the shaded parts of procedurally changing colour.
If anyone’s seen anything on how to create materials similar to the second image that would be awesome.
I love the gradient and the pastel glossy toonish style.