Changes place of tone1 and tone2 in every color and then returns the faded palette.
palette must be a length-256 sequence of length-3 sequences, specifying a palette.
tone1 and tone2 are the numbers of the tones to swap (1=red, 2=green, 3=blue). If the two values are the same, then there won't be any change.
delay is a value specifying how fast/slow the fading should be done (3 is a good value).