functionColorTest{param([parameter(mandatory=$true)][string]$str)if($str.length-gt5)#just testing!{write-host-Object$str}else{write-host"ohh too short`n"`"try again"}:ALoopLabelfor($i=0;$i-lt5;$i++){write-host"I = $i"if($i-eq2){breakALoopLabel}
}} If you open a nonscript file (text file for example) it will be this color.

C:\PS>Error TextWarning TextVerbose TextDebug Text

testing
Get-Process

Options

Token Colors

Copy and paste the code below in to your ISE Profile or a PS1 file. (Note: I was unable to figure out what the NewLine, Position and Unknown tokens were so they are not in here)
Questions/Comments