pan class="p">.</span><span class="nx">buttons</span> <span class="o">!==</span> <span class="mi">1</span><span class="p">)</span> <span class="k">return</span><span class="p">;</span> <span class="c1">// if mouse is pressed.....</span>

    <span class="kd">var</span> <span class="nx">color</span> <span class="o">=</span> <span class="nb">document</span><span class="p">.</span><span class="nx">getElementById</span><span class="p">(</span><span class="s1">'hex'</span><span class="p">).</span><span class="nx