<!DOCTYPE html>
<html lang="en-US">
<body>
<canvas id="myCanvas">Your browser does not support the HTML5 canvas tag.</canvas>
<script>
// Draw Rectangle
var c = document.getElementById("myCanvas");
var ctx = c.getContext("2d");
ctx.fillStyle = " #248f24";
ctx.fillRect(0, 0, 150, 100);
</script>
</body>
</html>