<meta charset="UTF-8" />
<canvas id="designArea" width="600" height="400"></canvas>
<script>
var designArea = document.querySelector("#designArea");
brushTool = designArea.getContext("2d");
brushTool.fillStyle = "grey";
brushTool.fillRect(0, 0, 600, 400);
brushTool.fillStyle = "darkgreen";
brushTool.fillRect(125, 50, 350, 300);
brushTool.fillStyle = "black";
brushTool.fillRect(265, 200, 70, 100);
brushTool.fillRect(225, 240, 40, 110);
brushTool.fillRect(335, 240, 40, 110);
brushTool.fillRect(175, 110, 90, 90);
brushTool.fillRect(335, 110, 90, 90);
</script>