Change 'Color Mask' Property At Runtime

Hi everyone,

Simple question really. I want to change the Color Mask property at runtime on a material. The material is using the UI/Unlit/Detail shader. How can i access this property so that can change it when needed?
I’ve attached a screen grab.
Thanks

If it’s set up as a property you can interact with it.