I currently have an assortment of html and svg files that include:
home.html
<html>
<head>
<style>
span {
filter: invert(100%)
}
</style
</head>
<body>
<span><img src="my.svg" /></span>
<div><img src="my.svg" /></div>
</body>
</html>
my.svg
<svg version="1.1"
baseProfile="full"
width="36" height="36"
xmlns="http://www.w3.org/2000/svg">
<rect width="100%" height="100%" fill="red" />
</svg>
Currently, the two rectangles are displaying as one light blue and one red as expected. Is there a way to maintain the red color of both images by only updating the .svg code? Unfortunately, I am restricted from making changes to the code within the hosting html page for my image.