Gradient color in blender
In Edit Mode unwrap the mesh (select the whole mesh with A, then press U-->Project From View).


Add a new material and go to Texture header. Add a new texture, set its Type to Blend. In Blend panel click the Vertical button. You may also change the Progression type to Easing for smoother colors transition.