To apply Gradient effect to the ring, right click on the layer & choose blending options.
In blending options select Stroke > Fill type: Gradient. For gradients choosed colour codes as shown below.
After applying the gradient, Set the Fill option at top to 0%.