Pygments is a fast syntax highlighter written in Python with a special focus on details. Can highlight source code in many supported languages: Python, Ruby, PHP, HTML etc. Outputs arbitrarily-styled HTML or LaTeX, comes with many builtin styles.

WWW: http://pygments.org/
