updated color fading functions and background target color logic, to slowly progress the background color towards the destination color