Reputation: 1
I have a little picture and i want to change in some cases only the color black to white using css. Is this possible? (the picture is a .gif and the Browserversion is old - Firefox version 39 - a newer one is not allowed)
invert() changes too much
Thanks a lot for your help.
Upvotes: 0
Views: 631
Reputation: 74
As far as i know this is NOT possible, you can try every filter there is: CSS Filters to see if any (or the combination of many) gives you the desired effect.
I recommend you to change the approach and use SVG instead (with svg you can pretty much do whatever you need, check here), if you need an animation you could also try with Lottie, which helps you insert an After Effect animation into your code.
Check the oficial website for more info: Lottie
Upvotes: 1