toHsl method Null safety

PdfColorHsl toHsl()

Convert this color to HSL

Implementation

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