Not sure if this is what you mean, but here you go.
That seems to be what I want but that is only Single Player, i'd like multiplayer compatibility
You can change the colors at runtime but you can not have more than 64 different colors if you want all clients to see it properly.
What do you mean? Runtime???