I have a svg
image where I want to change the color of the svg
using the css filter
property.
body {
background-color: #dadada;
}
.custom-1 {
filter: invert(0.5);
}
<img src="https://image.flaticon.com/icons/svg/62/62945.svg" class="standard" width="50" height="50" alt="img">
<img src="https://image.flaticon.com/icons/svg/62/62945.svg" class="custom-1" width="50" height="50" alt="img">
How can I make the svg
image as white color.