There are some icons with fill="currentColor"
. In html, I can use <i></i>
and set color with CSS. But I couldn’t find a way to color SVG images on the canvas. Although I can directly modify SVG files, that would be too foolish.
There’s no way to color SVG images on the canvas because they’re just pixels by then. You could maybe use DOM game objects.
1 Like