<svg xmlns="http://www.w3.org/2000/svg">
<!-- pattern inherits fill color via currentcolor -->
<defs>
<pattern id="MyPattern" patternUnits="userSpaceOnUse"
x="5" y ="5" width="10" height="10">
<circle fill="limegreen" cx="5" cy="5" r="5" />
</pattern>
</defs>
<circle color="blue" stroke="black" fill="url(#MyPattern)" cx="50" cy="50" r="40" />
</svg>