const ctx=canvas.getContext('2d');
ctx.save();
ctx.shadowColor = "lime";
ctx.shadowOffsetX = 3;
ctx.shadowOffsetY = 3;
ctx.shadowBlur = 4;
ctx.font='16px Times New Roman #000';
ctx.fillText('Hello world',20,20);
ctx.restore();
ctx.font='16px Times New Roman #000';
ctx.fillText('Hello world',20,40);