Summary -

In this topic, we described about the SVG Filling Colors with CSS with detailed example.

To fill color with CSS, we can use <svg> with <fill>, <stroke> etc.

Example -

Below example describes about how to use CSS on SVG.
<html>
  	<head>
    	<title>SVG </title>
    	<style>svg {fill:#00ff00;}</style>
  	</head>
  	<body>
    	<h2> SVG fill color using CSS</h2>
    	<svg width="200" height="200">
      		<circle cx="120" cy="120" r="20%"/>
    	</svg>
  	</body>
</html>

Output -