@keyframes rainbow { 0% { color: #ff0000; } 16.66% { color: #ffff00; } 33.33% { color: #00ff00; } 50% { color: #00ffff; } 66.66% { color: #0000ff; } 83.33% { color: #ff00ff; } 100% { color: #ff0000; } }