<!DOCTYPE html>
<div style="height: 200px; float: left; background: green">
<img style="height: calc(50% + 20px); opacity: 0.5;" src="solidblue.png">
</div>