code: function fixHues(h1, h2) {
          var diff = Math.abs(NAMED_HUE_INDEX[h1] - NAMED_HUE_INDEX[h2]);
          if (diff !== 1 && diff !== 5) {
              return false;
          }
  
          var result = {
              h1: h1,
              h2: h2
          };
          if (h1 === 0 && h2 === 300) {
              result.h1 = 360;
          } else if (h2 === 0 && h1 === 300) {
              result.h2 = 360;
          }
          return result;
      }
docs: 0 -> 360 in some circumstances for correct calculation