I use the Raphael JS vector library and I cannot get the string (path) that I draw to change colors. Hope this is just something stupid.
var blue_one = paper.path ("M205 205L300 300");
blue_one.attr ("stroke-width", "3");
blue_one.attr ("fill", "#0000FF");
I also tried filling in the values "# 00F", "blue", "0000FF" and "00F".
source
share