invert method
void
invert()
inherited
Inverts the values of every color in the palette in their respective color spaces.
Implementation
void invert() {
for (var i = 0; i < length; i++) {
colors[i] = colors[i].inverted as O;
}
}