You might need to layer two Ramp Shaders. One doing the black edge, the other doing color. Just change the Color Input from Light Angle to Facing Angle.