I exercise with colds. However, my level of exercise involves gentle 30 minute walks or Tai Chi. I think it is good for fighting colds. Just listen to your body.
For a mild cold, or the tail end of one, I do sometimes feel like a bit of exercise to get the heart pumping and a sweat going can help clear it.
Just please don't go to a shared gym with one!