The short version is that you use a photo editing program that allows 'layers'. You create a duplicate layer and convert the top one to B&W. Then you erase the parts of the top layer that you want to appear in color.