5/2. feladat megoldása


<?xml version="1.0"?>

<!DOCTYPE svg PUBLIC "-//W3//DTD SVG 1.1//EN"
	"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg xmlns= "http://www.w3.org/2000/svg"
     xmlns:xlink= "http://www.w3.org/1999/xlink"
     version="1.1" width="200" height="200">

<rect x="30" y="20" width="30" height="30"
	style="fill: black; fill-opacity: 0.2;"/>
<rect x="80" y="20" width="30" height="30"
	style="fill: #ff0000; fill-opacity: 0.4;"/>
<rect x="130" y="20" width="30" height="30"
	style="fill: #0f0; fill-opacity: 0.6;"/>

<rect x="50" y="120" width="30" height="30"
	style="fill: rgb(255, 255, 0); fill-opacity: 0.8;"/>
<rect x="100" y="120" width="30" height="30"
	style="fill: rgb(60%, 20%, 60%); fill-opacity: 1;"/>

</svg>