RGB LED STRIP programming question

My mistake. I was going off the end of the array. Fixed above.