xtermFgColor() public static method
Returns the ansi format code for xterm foreground color.
You can pass the return value of this to one of the formatting methods: ansiFormat(), ansiFormatCode(), beginAnsiFormat()
See also http://en.wikipedia.org/wiki/Talk:ANSI_escape_code#xterm-256colors.
public static string xtermFgColor ( $colorCode ) | ||
---|---|---|
$colorCode | integer |
Xterm color code |
Please login to continue.