<style>
img {
margin: 15px;
transform:translateZ(0);
}
</style>
<img style="filter: drop-shadow(0 0 0 black)" src="resources/reference.png">
<img style="filter: drop-shadow(5px 5px 2px black)" src="resources/reference.png">
<img style="filter: drop-shadow(5px 5px 0px red)" src="resources/reference.png">
<img style="filter: drop-shadow(10px 10px 0px red)" src="resources/reference.png">
<img style="filter: drop-shadow(5px 5px 10px blue)" src="resources/reference.png">