Per Particle Channel Selection

I’d like to create a material that uses particle parameter in such a way that each particle beam renders with one of the RGB channels i have set up in my texture. I tried following this tutorial: - YouTube but either i’m doing it wrong or it doesn’t work with beams? I can’t tell whether I actually need x,y or if i just need to append a float 0? Need a little help. Thank you!