The elements text, stroke, and line can be used to define the color of a line text or outline of an element code example
Example: svg stroke color
<rect x="10" y="10" width="100" height="100" stroke="blue" fill="purple"
fill-opacity="0.5" stroke-opacity="0.8"/>