http://w3schools.i2p/graphics/svg_fill.asp
Here we use the fill attribute for a polygon, rectangle, circle and a text: I love SVG! Sorry, your browser does not support inline SVG. Here is the SVG code: Example <svg width="600" height="220" xmlns="http://www.w3.org/2000/svg"> <polygon points="50,10 0,190 100,190" fill="lime" /> <rect width="150" height="100" x="120" y="50" fill="blue" /> <circle r="45" cx="350" cy="100" fill="red" /> <text x="420" y="100" fill="red">I love SVG!