title: Need to change the canvas background color while using fabric js
body: <p>I've a canvas element and I create fabric object out of that. Now, I want to change the background color dynamically. The following doesn't work for me.</p>
  
  <pre><code>var x;
  
  x = new fabric.Canvas("mycanvas", {
        backgroundColor : "#fff",
        selection: true
     });
  
  x.backgroundColor = "#f00";
  </code></pre>
  
  <p>The background color is white and it doesn't get changed to red.</p>