blob: 7a0046f27b2bd432944e61aee3bb900300093019 [file] [log] [blame]
<!DOCTYPE html>
<body>
<canvas id="canvas" width="100" height="100"></canvas>
</body>
<script>
var canvas = document.getElementById('canvas');
var ctx = canvas.getContext('2d');
ctx.fillStyle = 'rgb(0, 100, 100)';
ctx.fillRect(0, 0, 100, 100);
</script>