title: javascript: Map a temperature to a particular HSL Hue value
body: <p>My question is different from the question referred to by <a href="https://stackoverflow.com/users/4665/jon-p">Jon P</a> in this question <a href="https://stackoverflow.com/questions/16399677/set-background-color-based-on-outdoor-temperature">question pointed to by Jon P</a> and flagged above as being a question that has already been asked.  That question was to display an entire gradient of temperatures.  This question is to attach a single hue to a single temperature.  </p>
  
  <p>I need to display a single numeric temperature value in a color that maps the temperature to a certain hue in a range of hues on an hsl wheel.  I need upper temperatures to show as very red (330 on the hsl wheel) and lower temperatures as very blue (270 on the hsl wheel).</p>
  
  <p>After a bit of work at the suggest of <a href="https://stackoverflow.com/users/1243641/scott-sauyet">Scott Sauyet</a> in comment below, I solved my problem and it is posted below.</p>