how to fill color in rectangle in canvas html code example Example: js canvas fill color // canvas context.fillStyle = "Color" ctx.fillStyle = "#FF0000";