1. Start with a 300x300 px image, white background. Then create a new layer, use your elliptical marquee tool create a circle and fill it with color.
2. With your selection still activ make your foreground white, then select the gradient tool.
read more