Thanks for your answer !
Well that is one possiblity, but it doesnt really help in the long run. You can translate linear colors to color structures, but you still cant use arrays, other than the one you make there on the spot. The VC array must be the same length as the vertices array, and in my example the vertices array may vary in length. There is no way to do this without using actual arrays for the color structures.
I did try your idea in an earlier setup, it works kinda… If the number of vertices is fixed. But it does look ridiculous…