function getColor(value){
  if (value >= threshold) {
    return happyColor;
  } else if (value < threshold && value > -threshold){
    return mehColor;
  } else if (value <= -threshold) {
   return sadColor;
  }
}
Returns a corresponding color based on numeric value.