Fills and Strokes

There are several ways to color shapes (including specifying attributes on the object) using inline CSS, an embedded CSS section, or an external CSS file.

Most SVG you'll find around the web use inline CSS, but there are advantages and disadvantages associated with each type.