inverted property

  1. @override
OklabColor inverted
override

Inverts the values of this ColorModel, excluding alpha, in its own color space.

Implementation

@override
OklabColor get inverted =>
    OklabColor(1.0 - lightness, 1.0 - a, 1.0 - b, alpha);