I have an .svg file with the following line of code:
<path class="col-obj" style="fill:#4D4D4D
I would like to be able to change the fill color from a variable where I will randomly select a color.
Is this possible?
Develop games in your browser. Powerful, performant & highly capable.