Uniting two shapes of different colors in Photoshop


I'm not very good at photoshop but I wanted to know how do you unite two shapes (circles) that have different colors? When I unite my two shapes the second shape takes on the color of the first circle. Both shapes are separate layers made using the eclipse tool. Any help would be greatly appreciated.

enter image description here

enter image description here

8/17/2015 7:14:00 PM

You cant.

When you unify more than one shape, you create one shape. Therefore you can't have multiple colors applied to a single shape (other than gradients). If you need two colors, you need 2 shapes.

You could achieve what you are after with 2 shapes, a layer group and a mask on the group.

8/17/2015 7:18:00 PM