toHsl method

PdfColorHsl toHsl()

Convert this color to HSL

Implementation

PdfColorHsl toHsl() {
  return PdfColorHsl.fromRgb(red, green, blue, alpha);
}