Change color of vtkCubeAxesActor

Referring to example:
https://kitware.github.io/vtk-examples/site/Cxx/Utilities/DetermineActorType/

Notice that with this example the axes and axes labels are in white.

After looking at the on-line documentation and the class header file, I can’t determine how to change the color of the axes and their tick marks. I can change the color of the labels. I can draw grid lines in any color I choose. But, so far have not found how to change the color of the axes and the tic marks. How can I do this?

I didn’t compile the example, but perhaps vtkCubeAxesActor::GetXAxesLinesProperty and vtkCubeAxesActor::SetXAxesLinesProperty? These work with vtkProperty

Thanks. That worked.

I don’t know how I missed it, probably because there were so many functions listed on the webpage and I wasn’t sure what I was looking for.