How do I change a material color at runtime?

No, you need to setup one yourself, because you can use vector parameters for almost everything in the material editor (color is just a very basic example of using it).

As for the inaccessible, that may be just an intellisense error. As long as it compiles, there should be no problem. I use the SetVectorParameter function a lot myself and never had any problems with it thus far.