title: Hexadecimal rounding in JavaScript?
body: <p>Is it possible to round hex colors to previously set hex colors? Like I would put colors in an array and round other colors to the closest color in that array.</p>
  <p>If it's possible, how would I implement that?</p>