I am trying to change the a logo image (transparent png) from white to red with CSS. I do not know any JS, only html and CSS.
I have tried using css hover with color but it doesn't work. I used background-color, which works, but I don't want the background of the image to be red. I've searched but I don't think my search description is very good.
This is the html:
<body>
<div class="background-container">
<header>
<a href="index.html"><img src="images/ReLiveLogoWHITE TRANSPARENT.png" class="logo"></a>
<nav>
    <ul>
        <li><a href="">Home</a></li>
        <li><a href="">About</a></li>
        <li><a href="">Contact</a></li>
        <li><a href="">Blog</a></li>
    </ul>
</nav>
</header>
and the css:
    .logo {
     height: 30vh;
     margin: 1em;
     }
     .logo:hover {
     color: red;
     }
I can't upload the actual image so I'll upload a royalty free image. I want to color the planet red or blue or whichever color I want, on hover. The image also acts as the home button.
 
     
     
    