Here’s a tutorial dealing with the difference between the Stencil and Opacity channel. The image below shows how the stencil channel can be used to alter the color of a surface.
Note: This movie file does not stream. After you click play, you will have to wait for the movie to fully load before it starts to play. Sorry for the inconvenience.