Depends. Yes, a shader can mask a specific color as described, provided the asset has pixel-perfect resolution. I don’t think any Unity standard shaders do this. It’s arguably superior to edit the asset whenever possible, for general convenience and performance.