toSvg: split rgba into color and opacity for fills and strokes.

Adobe Illustrator render elements black if colors are rgba.