Colour Masks

Hi all. Feel pretty stupid asking this but I can’t for the life of me remember how to do it.

I have two textures. One diffuse and one mask. The Diffuse is just RGB, the mask contains separate infor in RGBA for masking different areas.
Basically all I want to do is colour the masked areas of the texture without affecting the rest of the diffuse texture.

I want to be able to set it up so that the base can be one colour, then have 2 seperate masks than can each be a separate colour.

Any idea how i go about setting this up? I’m stumped. New to UE4.

Cheers for the help all! Really appreciate any advice or pointers.

You need a Lerp(LinearInterpolate) node. Plug your mask channel to the alpha and your colors/textures to A and B.