html canvas line color code example
Example 1: javascript context color
context.fillStyle = "Green";
context.fillStyle = "#FF0000";
Example 2: canvas change line color
context.strokeStyle = '#ff0000';
context.fillStyle = "Green";
context.fillStyle = "#FF0000";
context.strokeStyle = '#ff0000';