Hot answers tagged effects
By using mnxd's solution as a base, you can make this really manageable by using the Appearance palette. select your shape; give it a gradient with a light top and a dark bottom, just like in mnxd's solution; open the appearance palette and select the existing fill; choose Add New Fill from the palette options or click the duplicate selected item button: ...
Two Objects, one has a gradient, the other one is slightly smaller (subtract the stroke outline from the original object to achieve this Use the Offset Path effect with a negative value) and has a feather effect. Try out different different feather values to make the edge softer/harder
The answer is (as Mark Read said in the comment) to use the Gradient Mesh tool. Click where the points are shown in this image. You can then select them with the Direct Selection tool and set each points' individual color. The ones on the top has a lighter color, and the bottom ones is darker.
Only top voted, non community-wiki answers of a minimum length are eligible