-1

In html

<img src="../../Images/newsletter_icons/{{tool.Tool}}.svg" />

In css

svg.icon{
        fill:red
       }

*Note: I have added class name 'icon' manually in my all svg tag.

Remya R
  • 157
  • 1
  • 18
Abdul Samad
  • 31
  • 10

1 Answers1

0

You can add a filter to the image to recolor it and call the filter through CSS.

Michael Mullany
  • 30,283
  • 6
  • 81
  • 105