How to mask a single color?

I also refined it a little.
I was also interested in having a linear version available as utility.

3 Likes