added colors, hue and speed logic.