This fades one of the tones (red, green or blue) in every color towards the value in tone_goal.
palette must be a length-256 sequence of length-3 sequences, specifying a palette.
tone_goal is the value (0-63) wich the specified tone in every color should be faded to.
tone is the number of the tone to fade (1=red, 2=green, 3=blue).
fade_steps is a value (0-63) specifying how many steps to fade (63=total fade).
delay is a value specifying how fast/slow the fading should be done (3 is a good value).
If you only want to change the palette sequence and not the hardware palette, you can use the constant no_fading.