Change color of a particle

Hello,
I am trying to have smoke that changes color if its selected or not. I have it set to change to red when selected but i cant find a good and smooth way to get the no longer selected smoke to go back to white thanks for the help.