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

Adobe Illustrator render elements black if fills or strokes are
rgba colors