I know this is old, but just in case it will help someone else.
<div style="background-color: rgba(255, 0, 0, 0.5)">child</div>
Where rgba is: red, green, blue, and a is for transparency.
rgba
a
1.4m articles
1.4m replys
5 comments
57.0k users