question about running ws2812 leds

Hint:

#include <Adafruit_NeoPixel.h>

#define PIN 6
#define ledCount 3
uint32_t ledarray[] =
{
  0xFF0000, 0x00FF00, 0x0000FF, 0xFF00FF, 0xFF7F00, 0x00FFFF, 0xFF2000, 0xFFFFFF, 0x000000
};

Adafruit_NeoPixel strip = Adafruit_NeoPixel(ledCount, PIN, NEO_GRB + NEO_KHZ800);

void setup()
{
  strip.begin();
  strip.show();   // Initialize all pixels to 'off'
}

void loop()
{
  for (int t = 0; t < 9; t++)
  {
    for (int y = 0; y < ledCount; y++)
    {
      strip.setPixelColor(y, ledarray[t]);
      strip.show();
      delay(500);
    }
  }
}