What are you trying to fade from what to what? Like is the before and after colors both visible? (like for instance blue text on a white background to red text on a white background?)
If that's the case, running some sort of counter from one hex value to the other would be the way to go