code: def _adjust(hsl, attribute, percent):
      
      hsl = list(hsl)
      if attribute > 0:
          hsl[attribute] = _clamp(hsl[attribute] + percent)
      else:
          hsl[attribute] += percent
  
      return hsl
docs: Internal adjust function