change color of SVG in JSUI object?

Venetian's icon

hi,

I'm looking to have different color versions of the same svg image. To display the svg I'm using jsui object and

with (mgraphics) {
svr_render("my_svg_image.svg");
}

Can I change the color of the svg?

As a workaround, I can change this in the XML file with a text editor and create different colored versions - my_svg_image_red.svg, for example.

It seems to me that jsui is the best way to render dynamically (i.e. changing image). Any advice on that also appreciated.

thanks,
Andrew