Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h2>A rectangle with opacity</h2>
<svg width="300" height="170" xmlns="http://www.w3.org/2000/svg">
� <rect width="150" height="150" x="10" y="10" style="fill:blue;stroke:pink;stroke-width:5;opacity:0.5" />
  Sorry, your browser does not support inline SVG.  
</svg>
</body>
</html>