Take this Code for example
#backgroundimage {
background: url("https://www.solidbackgrounds.com/images/640x480/640x480-aero-solid-color-background.jpg");
height: 50px
}
#container {
background-color: #4C4C4C;
opacity: 0.5;
}
#text {
color: #ffffff;
opacity: 1;
}
<div id="backgroundimage">
<div id="container">
<p id="text">
Some text here
</p>
</div>
</div>
I want to make the text color white while keeping the background image and container opacity intact.