How can I change the color of an ‘svg’ element?
2020 answer CSS Filter works on all current browsers To change any SVGs color Add the SVG image using an <img> tag. <img src=”dotted-arrow.svg” class=”filter-green”/> To filter to a specific color, use the following Codepen (click here to open the codepen) to convert a hexadecimal color code to a CSS filter: For example, output for … Read more