This fades the palette palette from its current state to the rgb-values in RGB and then returns the faded palette.
palette must be a length-256 sequence of length-3 sequences, specifying a palette.
RGB must be a length-3 sequence, specifying the red, green and blue values of the color.
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.