 void setup()                    
 {
   for(int i = 0 ; i < 3; i++ ){
-    pinMode(leds[i], OUTPUT); 
+    pinMode(leds[i], OUTPUT);
+    digitalWrite(leds[i], LOW);
+    delay(300); 
+    digitalWrite(leds[i], HIGH);
+    delay(300);
   }
 }
 

void rainbow(){
  hue += 0.06;
  if ( hue >=1 ) hue = 0;
  sat = 1.0;
  val = 0.4;
  cur_color.convert_hcl_to_rgb(hue,sat,val);
  display_color(cur_color);
  delay(20);

#include <Color.h>

// these are the pins connected to the RGB LEDs
int leds[] = {9,10,11}; 
Color cur_color = Color(1,1,1);
float hue = 0;

