I have an SVG
image element in my code.
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<image id="svg_social-link" x="20" y="20" width="17" height="17" xlink:href="mail-dark.png" />
</svg>
The image mail-dark.png
is "Black" in color
now.
I need to change its color
. For example say to "green".I have tried using css
as
<style>
#svg_social-link {
fill: green;
}
</style>
But its not worked. Is there any way to do this.