inverted property

  1. @override
HsbColor inverted
override

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

Implementation

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