Um... the question is in the title I suppose.
I've sometimes posted screenshots of code because the colours are nice, but of course you can't cut and paste from it.
I have occassionally coloured the text manually in the answer editor... but only when I had the perverse compulsion to set fire to time and cover it in bees.