html`
<div style="background:#a5c3fb">
<img src="https://i.imgur.com/zTrWng3.png" style="filter:url(#filter);max-width:100%">
</div>
<svg>
<filter id="filter">
<feColorMatrix
in="SourceGraphic"
result="mono"
type="matrix"
values="
0.33333 0.33333 0.33333 0 0
0.33333 0.33333 0.33333 0 0
0.33333 0.33333 0.33333 0 0
0 0 0 1 0
"
/>
<feColorMatrix
type="luminanceToAlpha"
result="mask"
/>
<feComponentTransfer in="mask" result="mask">
<feFuncA
type="linear"
slope="${slope}"
intercept="${intercept}"
></feFuncA>
</feComponentTransfer>
<feComponentTransfer
in="mono"
result="colorized"
>
<feFuncR type="table" tableValues="0.00000 0.40392 0.50588 0.74902 0.81569 1.00000"/>
<feFuncG type="table" tableValues="0.25098 0.56863 0.69804 0.87451 0.72157 1.00000"/>
<feFuncB type="table" tableValues="0.00000 0.40392 0.47451 0.65882 0.66667 1.00000"/>
</feComponentTransfer>
<feComponentTransfer
in="mono"
result="gamma"
>
<feFuncR type="gamma" amplitude="${amp}" exponent="${exp}" offset="${off}"></feFuncR>
<feFuncG type="gamma" amplitude="${amp}" exponent="${exp}" offset="${off}"></feFuncG>
<feFuncB type="gamma" amplitude="${amp}" exponent="${exp}" offset="${off}"></feFuncB>
</feComponentTransfer>
<feConvolveMatrix
in="gamma"
result="shaded"
divisor="${div}"
bias="${bias}"
preserveAlpha="true"
order="3 3"
kernelMatrix="${light(a, d).join(' ')}"
/>
<feBlend in="colorized" in2="shaded" mode="multiply" />
<feComposite in2="mask" operator="in" result="masked" />
<feMerge>
<feMergeNode in="${out}">
</feMerge>
</filter>
</svg>
`