I use the output of the Powershell script HightLigh-Syntax.ps1 to color my scripts.
Usage: ./HightLight-Syntax.ps1 ./Myscript2Color.ps1 > out.htm
I then cut-and-paste the contents of out.htm into an "Add New Topic". Don't try this method in a "Quick Reply". Howerver if you are replying to a color post you can use the "QUOTE" feature to paste additional color stuff in your response. I think if you try to paste colorized junk using the "QUICK REPLY" if will look terrible. Try testing in the test forum.
I think the script "HightLight-Syntax.ps1" is available at the Sapiens script valut.