title: color code to closest color available
body: <p>I am trying to use any of the  jquery color picker available. When user selects a color, I have to match it with closest color available and query the db.
  Question would be, for a given color code, how will i match it with the nearest color code from my list of available colors?</p>