Problem solved. In tagging photos earlier, I had changed the default name of the colors, ie. 'green' became 'processed'. When I reinstalled LR after wiping my hard drive, I did not change the name of the colors from default to my names. Hence, LR did not find them and I thought I had lost my color coding. After changing the default names to my names, LR picked up everything and all is well.