Let's suppose I apply a CSS opacity rule on some HTML element
opacity: .5;
is there a formula that helps me figure out how a color will change ?
For instance I'd guess that in my example a div background color of white #FFFFFF would become #808080
but peraphs I am wrong ?