Added function pulse_color for pulsing a single color