withLightness method

PdfColorHsl withLightness(
  1. double lightness
)

Create a copy of this HSL color with a different lightness value

Implementation

PdfColorHsl withLightness(double lightness) {
  return PdfColorHsl(hue, saturation, lightness, alpha);
}