html canvas strokestyle properties code example
Example 1: javascript context color
context.fillStyle = "Green";
context.fillStyle = "#FF0000";
Example 2: javascript cahnge colour of strokerect
const context = canvas.getContext('2d');
context.strokeStyle = 'blue';
context.strokeRect(100, 100, 50, 50);