bar-links">
    <a href='ref.html'>&lt; All Functions</a><div class='sidebar-title'>Colors</div><a class='sidebar-link' href='colorFromHex.html'>colorFromHex</a><a class='sidebar-link' href='colorToHex.html'>colorToHex</a>
  </div>
</div>

<div class="content">
  <h1>API Reference</h1>

  <hr class="divider">


<h4><span class="type-signature"></span>colorToHex<span class="signature">(color)</span><span class="type-signature"> &rarr; {string}</span></h4>
    

    



<div class="description">
    Converts 