score:2

Accepted answer

you can style the canvas element. something like this will work

canvas {
    background-color: black;
}

fiddle - https://jsfiddle.net/w1yhp03h/

score:6

thank you!

i didn't think to css, i added an image too in a similar way

canvas {
   background-image: url(backgroundimage.jpg);
}

Related Query

More Query from same tag