Make the shape black and turn down opacity to about 60-70%. You can also play around with different blend modes.
Use photoshop or other image redactor to set a box with the color you want. Then change the opacity/transparency to the neaded one and put the text over it. That is the easiest way.