red to blue fade function attempt