Color ramps with normals, 2.8 Eevee Style
I found one solution through random experimenting: 

A freznel input feeding into a color ramp. I used constant for my own toon applications, but I suppose this would also work for a smooth effect.