change svg color in img tag
<svg>
<use href="logo.svg" style="--color_fill: #000;"></use>
</svg>
change svg color in img tag
<svg>
<use href="logo.svg" style="--color_fill: #000;"></use>
</svg>
change svg color in img tag
.logo {
background-color: red;
-webkit-mask: url(logo.svg) no-repeat center;
mask: url(logo.svg) no-repeat center;
}
how to color svg image in css
/*
You have to apply a filter, this works for any kink of image
Play with hue-rotate and saturate to find the color you want
*/
#svg{
filter: invert(100%) sepia(100%) saturate(1000%) hue-rotate(280deg);
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us