How do I change the fill color of a rage spline path?

I am trying to change the color of a path with a rage spline component from a script while the game is running. I tried connecting the path as a gameobject in another script and then geting the rage spline component but then I could not access the fill variable from the rage spline because fill is not a member of component. So I know that code is going the wrong direction but I don’t know where to go from here. Any ideas?

rageSpline.SetFillColor1(thecoloryouchoose);
rageSpline.RefreshMesh(true, true, false);

should work