Invert a key when it is easier to exclude rather than include colours in a secondary.
To invert a key:
The area of the key that was opaque becomes transparent and the area that was transparent becomes opaque.
Before
After
Images courtesy of Hungarian Academy of Film & Theatre, 3rd year