clampLightness method

HSLColor clampLightness(
  1. double lowerLimit,
  2. double upperLimit
)

Implementation

HSLColor clampLightness(double lowerLimit, double upperLimit) =>
    withLightness(lightness.clamp(lowerLimit, upperLimit));