complement method

Color complement()

Gets the complementary color

Implementation

Color complement() {
  final hsl = HSLColor.fromColor(this);
  final complementaryHue = (hsl.hue + 180) % 360;
  return hsl.withHue(complementaryHue).toColor();
}