const rainbow = document.getElementById('rainbow');
if (rainbow.textContent >= 1 && rainbow.textContent <= 9) {
rainbow.style.color = '#c0392b';
} else if (rainbow.textContent >= 10 && rainbow.textContent <= 20) {
rainbow.style.color = '#e17055';
} else {
rainbow.style.color = '#fdcb6e';
}