I'll be getting a different SVG depending on some conditions. So, I can't get the SVG code, the server carries the svg files.
So is there any way to achieve this? I need to change the color dynamically, of whichever svg I get. This is the code I have
<svg >
<img src="rect.svg"width= "150px" height="150px">
</svg>