Change the shaking color algorithm