0
<img src="images/logo.svg" class="logo">

.logo {
fill: grey;
}

       or

.logo {
color: grey;
}

Both are not working. I'm playing this lots of time but still, I didn't find my answer.

  • 1
    You can refer to [this question](https://stackoverflow.com/questions/22252472/how-to-change-the-color-of-an-svg-element). TL;DR: You need to use CSS filter or use fill inside the SVG file. – Coxxs Feb 04 '22 at 07:39

0 Answers0