Hello, thank you for getting in touch!
A simple way to achieve this would be by using the
Lerp node to blend between the sampled texture and its color adjusted version, where the blending is defined by the mask.
I've set up a sample for your convenience, which should provide a good starting point for this type of effect:
- MaskSample.jpg (314.92 KiB) Viewed 5461 times
You can also add your own color operations in place of the color node in the above example, to adjust the color of the texture in the way you require.
Please let me know if this helps and if you have any further questions, thanks!