inverted property
Inverts the values of this ColorModel, excluding alpha, in its own color space.
Implementation
@override
XyzColor get inverted {
final values = toList();
return XyzColor.fromList(
List<num>.generate(values.length, (i) => 100 - values[i].clamp(0, 100))
..add(alpha));
}