</span><span class="p">.</span><span class="nx">y</span><span class="p">);</span> <span class="c1">// to position</span>

    <span class="nx">ctx</span><span class="p">.</span><span class="nx">stroke</span><span class="p">();</span> <span class="c1">// draw it!</span>

   <span class="p">}</span>
</code></pre></div></div>

<p>There you have it! We now have a drawing app that can use any hex color. Try inserting a hex code in the input box and click and drag to mouse to draw! After you’ve accomplished thi