canvas fill circle code example
Example 1: javascript draw circle on canvas
var canvas = document.getElementById("canvas");
var ctx = canvas.getContext("2d");
ctx.arc(x, y, radius, 0, Math.PI * 2);
ctx.fillStyle = "red";
ctx.fill();
Example 2: js canvas fill color
// canvas context.fillStyle = "Color"
ctx.fillStyle = "#FF0000";