ColorCorrect for keying

Hi!, do you know how can I use the result of an color replace from the color correct node to get an alpha image from that?

thank!

Didn't test and don't know why you would, but try using layer->common or the diffkeyRGB macro (on this site)