Say I have:
<div class="dark">
<div class="lite"></div>
</div>
<div class="medium"></div>
and some css:
.dark {background:rgba(10,10,10,0.8);}
.lite {background:rgba(200,200,200,0.5);}
What calculation is needed if I want medium
to have the same rgba value as the combined dark > lite
? I thought a simple normalized calculation (normalize each color component and multiply) would work but this doesn't seem to be the case.