Changing colors and fading for specific time with millis

Oh, you should have asked about arrays before doing that pain in the ass typing.

There's FastLED.fill_solid(), and if you set up an array lper Replacing FASTLED colour name with an array index - #2 by gfvalvo

uint32_t colors[] = {FastLED::CRGB(9, 151, 95),
                     FastLED::CRGB(0, 255, 50),
                     ...
                     FastLED::CRGB(223, 255, 0)};

you can then have just three chunks:

if(color>=61) {
  color = 1;
   interval = 0;
}
switch ((color%3)+1) {

  case 1:
    FastLED.fill_solid(leds, NUM_LEDS, colors[(color-1)%3] );
    FastLED.setBrightness(brightness);
    FastLED.show();
    interval = fadeTime;
    brightness = brightness + fadeStep;
    if(brightness == 130){
      color++;
    }
  break;

  case 2:
    FastLED.fill_solid(leds, NUM_LEDS, colors[(color-1)%3] );
    FastLED.setBrightness(brightness);
    FastLED.show();
    interval = period2;
    color++;
  break;

  case 3:
    FastLED.fill_solid(leds, NUM_LEDS, colors[(color-1)%3] );
    FastLED.setBrightness(brightness);
    FastLED.show();
    interval = fadeTime;
    brightness = brightness - fadeStep;
    if(brightness == 0){
      color++;
    }
  break;
}