<canvas width="600" height="400"> </canvas>
<script>
var pantalla = document.querySelector("canvas");
var pincel = pantalla.getContext("2d");
pincel.fillStyle = "green"; //propiedad
pincel.fillRect(0,0,360,300); //funcion
pincel.fillStyle = "black"; //ojo1
pincel.fillRect(60,30,90,90);
pincel.fillStyle = "black"; //ojo2
pincel.fillRect(220,30,90,90);
pincel.fillStyle = "black"; // nariz
pincel.fillRect(150,120,70,100);
pincel.fillStyle = "black"; //boca1
pincel.fillRect(110,170,40,110);
pincel.fillStyle = "black"; //boca2
pincel.fillRect(220,170,40,110);
</script>