How do I change the default color?

I want to change the default color to the rainbow color in the paraview client or add more colors to choose from. How can I change it?

Are you using ParaView Lite? Do you have a custom code base derived from ParaView Lite or is it the original code base?

The UI should let you pick other color maps but changing the default may require some code change.

I use the official source code downloaded from github. I want to add several colors for users to choose. Can you give me some guidance?

it is Paraview Lite. I canuse the rainbow color map before. I don’t know what happened. Now I only have this color when loading my own vtk data, so I want to change it to rainbow color map and add other color maps for selection