Use the Keyer-Channel node to extract a key from a red, green, or blue channel, or from a custom value.
The Picking Controls are the same as those found in the Keyer module’s Channel menu. See Creating a Key by Extracting a Single Colour.