The Subtract texture subtracts the value of one texture from another, similar to the Subtract Layer mode in Photoshop®. Figure 1 shows a graph of the Subtract texture node used to subtract the Marble texture from a red RGB Spectrum texture node.
Figure 1: The Subtract texture combines a Marble texture and a red RGB Spectrum texture