inverted property

  1. @override
HslColor inverted
override

Adjusts this colors hue by 180 degrees while inverting the saturation and lightness values.

Implementation

@override
HslColor get inverted =>
    HslColor((hue + 180) % 360, 100 - saturation, 100 - lightness, alpha);