I've been working on a project for several months now,

I’ve been working on a project for several months now, and finally found almost the exact code I needed for the computer side, added and changed some code around and now everything works on the computer end, I will then send data to my Arduino Uno R3 via serial, split the data up, and figure out what number means what color (i.e. If I get the data “0,2,0,1,0,0” turn that into “black, green, black, blue, black, black”) I know how to do that and everything, my question is, the data I receive will have 16 different numbers, I have an LED strip of about 150 LEDs, is there a simple stretch it out so those 16 numbers reach all the LEDs? as in
led[0-9] = 0x000000
led[10-19] = 0x00ff00
led[20-29] = 0x000000
and so on, like I said, I can do the splitting and figure out how many LEDs need to be the same color, I just need to know if there is a better way of addressing several LEDs without iterating through every LED

I think what you’re looking for is CRGBSet. As long as each group is a continuous range of pixels you can use this. Here’s a basic example.

@Nick_Hurst - @marmil is correct. CRGBSet will help you do what you want to accomplish. Here are three of my sketches using CRGBSet: