Shader Turning Grey instead of White
Set the Z translation to 0 instead of -0.5 in the mapping node. What you are seeing here is a cross-section along the bottom of the sphere gradient, instead of the middle cross-section.

Illustration :