support color cycling every n-lines or n-seconds