canvas 2d fill color code example Example: js canvas fill color // canvas context.fillStyle = "Color" ctx.fillStyle = "#FF0000";