Implementation of transition color effect.