The canvas below should show a gradient, starting at green at the top and fading to white at the bottom of the rect.