title: Change background color on mouse move and page load as well
body: <p>I found a sample code which is change the background colour of the body when the user moves the mouse, but the first time the page is white. You can't see the changes until you move the mouse.</p>
  
  <pre><code>var $win = $(window),
      w = 0,h = 0,
      rgb = [],
      getWidth = function() {
          w = $win.width();
          h = $win.height();
      };
  
  $win.resize(getWidth).mousemove(function(e) {
  
      rgb = [
          Math.round(e.pageX/w * 255),
          Math.round(e.pageY/h * 255),
          150
      ];
  
      $(document.body).css('background','rgb('+rgb.join(',')+')');
  
  }).resize();
  </code></pre>
  
  <p>JSFiddle: <a href="http://jsfiddle.net/WV8jX/" rel="nofollow">http://jsfiddle.net/WV8jX/</a></p>
  
  <p>How can I trigger on load?</p>