toHsv method Null safety

PdfColorHsv toHsv()

Convert this color to HSV

Implementation

PdfColorHsv toHsv() {
  return PdfColorHsv.fromRgb(red, green, blue, alpha);
}