CSS · Properties — Scalable Vector Graphics
fill
The CSS fill property. Initial value: black. Inherited.
Syntax
fill: <paint>Example
Try it
Notes
Media: visual. Applies to: limitedSVGElementsShapeText. Computed value: asColorOrAbsoluteURL.
More in this group
Learn this in the course
Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.