<!DOCTYPE html>
<style>
#filtered {
opacity: 0.99;
filter: url(#myFilter);
}
</style>
<svg id='filtered'>
<filter id='myFilter'>
<feColorMatrix type='hueRotate' values='90'/>
</filter>
<rect fill='red' width='100' height='100'/>
</svg>
<!DOCTYPE html>
<style>
#filtered {
opacity: 0.99;
filter: url(#myFilter);
}
</style>
<svg id='filtered'>
<filter id='myFilter'>
<feColorMatrix type='hueRotate' values='90'/>
</filter>
<rect fill='red' width='100' height='100'/>
</svg>