title: Set background color to value of range input
body: <p>This is my code:</p>
  
  <pre><code>&lt;input id="red" name="red" type="range" min="0" max="255" step="1" value="128&gt;&lt;/input&gt;
  &lt;label for="red"&gt;red&lt;/label&gt;
  &lt;br&gt;
  &lt;input id="green" name="green" type="range" min="0" max="255" step="1" value="128"&gt;&lt;/input&gt;
  &lt;label for="green"&gt;green&lt;/label&gt;
  &lt;br&gt;
  &lt;input id="blue" name="blue" type="range" min="0" max="255" step="1" value="128"&gt;&lt;/input&gt;
  &lt;label for="blue"&gt;blue&lt;/label&gt; 
  </code></pre>
  
  <p>How can I set the background color (of html body) according to the values of the ranges (RGB) using JavaScript?</p>