withRelativeLightness method

HSLColor withRelativeLightness(
  1. double lightness
)

Implementation

HSLColor withRelativeLightness(double lightness) {
  return withLightness(this.lightness * lightness);
}