The default background color for the <canvas> element in
HTML5 is the same as the browser default background color. If there
is a style sheet or <body> tag that defines the color,
<canvas> will inherited that color. You can add style
attributes to the <canvas> tag to set a different default
background color for the element.