fading 2 RGB strips with controlled timing and color

I have two RGB strips connected to an Arduino Uno. I want the color of each strip to fade from blue to teal, and each strip to alternate begin lit up. In other words as strip A begins to light up, Strip B is dark, and strip B only begins to light up as strip A is nearly dim.

I’m using this code right now, and it works other then the blue and green leds fade individually, rather then together which would make the teal color. Can someone point me in the right direction here to get the desired effect? Thank you.

int ledPin9 = 9;    // LED connected to digital pin 9 Blue
int ledPin10 = 10;         // LED connected to digital pin 10 Green
int ledPin5 = 5;            //  LED connected to digital pin 5  Blue
int ledPin6 = 6;           //   LED connected to digital pin 6  Green

void setup()  { 
  // nothing happens in setup 
} 

void loop()  { 
  // fade in from min to max in increments of 5 points:
  for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=5) { 
    // sets the value (range from 0 to 255):
    analogWrite(ledPin9, fadeValue);   
    delay(50);
  } 

  // fade out from max to min in increments of 5 points:
  for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=5) { 
    // sets the value (range from 0 to 255):
    analogWrite(ledPin9, fadeValue);    
    // wait for 50 milliseconds to see the dimming effect    
    delay(50);                            
  } 

for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=5) { 
    // sets the value (range from 0 to 255):
    analogWrite(ledPin10, fadeValue);   
    // wait for 50 milliseconds to see the dimming effect    
    delay(50);                            
  } 

  // fade out from max to min in increments of 5 points:
  for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=5) { 
    // sets the value (range from 0 to 255):
    analogWrite(ledPin10, fadeValue);    
    // wait for 50 milliseconds to see the dimming effect    
    delay(50);                            
  } 

for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=5) { 
    // sets the value (range from 0 to 255):
    analogWrite(ledPin5, fadeValue);   
    // wait for 50 milliseconds to see the dimming effect    
    delay(50);                            
  } 

  // fade out from max to min in increments of 5 points:
  for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=5) { 
    // sets the value (range from 0 to 255):
    analogWrite(ledPin5, fadeValue);    
    // wait for 50 milliseconds to see the dimming effect    
    delay(50);                            
  } 

for(int fadeValue = 0 ; fadeValue <= 255; fadeValue +=5) { 
    // sets the value (range from 0 to 255):
    analogWrite(ledPin6, fadeValue);   
    // wait for 30 milliseconds to see the dimming effect    
    delay(50);                            
  } 

  // fade out from max to min in increments of 5 points:
  for(int fadeValue = 255 ; fadeValue >= 0; fadeValue -=5) { 
    // sets the value (range from 0 to 255):
    analogWrite(ledPin6, fadeValue);    
    // wait for 30 milliseconds to see the dimming effect    
    delay(50);                            
  } 
}

That's what you get when using delay(). :wink: If you call delay, nothing else will happen. See Blink without delay.

ok, thank you