Is it possible to change the color of an SVG image?

I don’t think it’s possible as the image is not handled differently being svg or not when it comes to being drawn: it is blit with the context.drawImage method and the DOM image is passed as the first parameter. Setting the fillStyle property of the context before drawing the image does not change anything.

2 Likes