How to disable a channel of texture during runtime?

Hi,
I am working on diving simulation. I diving as you go deeper color starts disappearing, for eg: after 20m you don’t see the color red, after 30m you won’t see green, after 50m you won’t see blue & everything turns to grey. I have to simulate this, I am not able to figure out how this could be done. Please share some ideas, code, or plugin. It would be of tremendous help to me.

Thanks in advance!!

I’m not sure if it’s a good way to achieve it, but i guess an image effect similar to Color Correction Curves (pro only) could allow you to adjust each color channel for the whole rendered image as you go deeper.
If you don’t have a pro licence, you maybe able to find something similar on the asset store for a few bucks or code it yourself.