circle % color javascript code example
Example 1: js canvas fill color
// canvas context.fillStyle = "Color"
ctx.fillStyle = "#FF0000";
Example 2: make a circle in javascript
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>Draw a circle</title>
</head>
<body onload="draw();">
<canvas id="circle" width="150" height="150"></canvas>
</body>
</html>