<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<canvas id="canvas" width="500" height="500"></canvas>
<script type="text/javascript">
var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
ctx.fillStyle = "aqua";
ctx.fillRect(0,0,300,300);
ctx.globalCompositeOperation = "lighter";
ctx.beginPath();
ctx.fillStyle = "deeppink";
ctx.arc(100,100,100,0,Math.PI * 2,false);
ctx.fill();
</script>
</body>
</html>