Demaestro - 3:23 pm on Jan 7, 2011 (gmt 0)
I have seen quite a few tools that will format sql statements. Adding line break and indentations for readablility.
It is likely that at least one of them would offer a colour option.
They usually come under the name SQL tidy or similar.