How to through the script call "Colors" plug-in modules and the API?

Operating system:
Slicer version:
Expected behavior:
Actual behavior:

How to through the script call “Colors” plug-in modules and the API ?

Anyone can give me some advice?
thank you!

Who can give me some advice

Can you describe what you would like to achieve?

ok,i want to implement the following view effect, but do it by scripting and setting its properties.
so please give me some advice