I would like to create a background image that starts as a gradient at the top and fades to a solid color. This way text can appear in the foreground.

It would be nice if I could specify a starting/ending color, including how much space the ending color should occupy in the image.

If anyone can point me in the right direction, I would appreciate it.