splitcomplementary property

  1. @override
List<PdfColorHsv> splitcomplementary
override

Get two complementary colors with hue shifted by -120°

Implementation

@override
List<PdfColorHsv> get splitcomplementary => <PdfColorHsv>[
      PdfColorHsv((hue - 150) % 360, saturation, value, alpha),
      PdfColorHsv((hue - 180) % 360, saturation, value, alpha),
    ];