// Syntax: ctx.fillStyle = yourColor; ctx.fillRect(x, y, width, height); // it's the same syntax for strokeStyle and strokeRect