def hsl_saturation
      s = if max == min
        0
      elsif hsl_lightness / 100.0 <= 0.5
        delta / (max + min)
      else
        delta / (2.0 - max - min)
      end

      (s * 100).round
    end
def hsl_saturation
      s = if max == min
        0
      elsif hsl_lightness / 100.0 <= 0.5
        delta / (max + min)
      else
        delta / (2.0 - max - min)
      end

      (s * 100).round
    end
hsl