one reason palette swaps are used is to save memory. in early computer gaming, when cartridges were the main storage medium and memory capacity was both scarce and expensive, a single sprite could be reused by changing its palette. as such, many new objects could be created without the need to produce new graphics from scratch, which saved both production costs and development time. early games in the "mortal kombat" series frequently introduced new ninja characters via palette swapping as both a cost-cutting and memory-preservation measure. more generally, palette swaps are common in sports games, in which the color scheme of opposing players is used to differentiate between teams.