But vertex colors Are part of the vertex buffer of the mesh(assigned to each vertex):
If you are looking to assign some other variable as an attribute, look at this: