inverted property

  1. @override
HsiColor inverted
override

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

Implementation

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