title: Why doesn't backgroundColor=rgb(a,b,c) work?
body: <pre><code>&lt;html&gt;
      &lt;head&gt;
          &lt;title&gt; Colors &lt;/title&gt;
      &lt;/head&gt;
  
      &lt;body&gt;
      &lt;script type="text/javascript"&gt;
          var a = parseInt(prompt("Enter R"));
          var b = parseInt(prompt("Enter G"));
          var c = parseInt(prompt("Enter B"));
          document.body.style.backgroundColor=rgb(a,b,c);
      &lt;/script&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Why doesn't the background color change according to the RGB values? What have I done wrong??</p>