Welcome to Photoshop Gurus forum. Register a free account today to become a member! It's completely free. Once signed in, you'll enjoy an ad-free experience and be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!
1) Create a new layer (ctrl+shift+n).
2) Click the rectangle tool (u) and draw a rectangle.
3) Double click the layer or right click on it then select 'blending options'.
4) Click 'gradiant overlay' then click the colour to choose the colours you want.
5) Press ok and you're done!