withSaturation method

PdfColorHsl withSaturation(
  1. double saturation
)

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

Implementation

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