invert

Replaces all colors in ColorContainer.colors with their inverse.

Return

This ColorContainer instance


fun ColorContainer.invert(vararg indices: Int): ColorContainer

Replaces the colors at the specified indices with their inverse.

Return

This ColorContainer instance


Replaces the colors at the indices in the specified ranges with their inverse

Return

This ColorContainer instance