命名颜色 - 使用填充和描边属性的预定义名称
可以在 W3C SVG 建议书中找到已识别的颜色关键字名称列表。
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<circle r="30" cx="100" cy="100" fill="red" stroke="green" />
<rect x="200" y="200" width="50" height="50" fill="yellow" stroke="blue" />
</svg>