I am trying to make the same color fill layer (if correct term) to the attached image so rendering color of a graphic element is simpler without the color overlay effect.
If I click the solid color button placed at the bottom of the layer window it gives me a new layer with a color fill but it's not masked.
What I want to achieve is making it easy for color adjustment for every graphic element exactly how the attached image demonstrates. I was unsure whether it was a vector or raster element. Now I know that drawing a vector shape will automatically give me the color fill mask so I am happy with my finding. I was rushing a bit when I posted this question.
And there's a few ways of doing it, and here's a couple:
Solid Color Adjustment Layer,
right-click it and select
Create Clipping Mask
CTRL-Click the thumbnail of the layer you want to put the mask over,
This will create a selection of that layer. Now create your
Solid Color Adjustment Layer and the mask will automatically be applied.