Add rainbow color generation and add pause and play states.