I'm currently working on an Angular application and I have a transparent GIF Loader image that I downloaded. I've been trying to figure out how to change the color of the GIF image, but so far, I've only been successful in resizing it. I searched for a solution but could only find how to change the background color and resize the image. Is there a way to actually change the color of a GIF image? Would using canvas be the only option?
html:
<div class="text-center" *ngIf="loading">
<img src="assets/img/spinner.gif">
</div>
css:
img{
width: 100px;
height: 100px;
}
My goal is to change the color of the loader image itself, not just the background color.