NAME textcolor -- get/set RGB values in the VGA (text mode) 16-color table.

FORMAT

 
	textcolor
	textcolor -c
	textcolor -r
	textcolor [ 0-15    0-255   0-255   0-255 ].... STD_REDIRECTION 
	  	    color   red     green   blue	

  
DESCRIPTION
VGA can do 16 text colors at a time. Those 16 colors can be chosen from a range that is only limited by what your monitor can actually produce. textcolor with -d or no arguments prints the current values of the VGA colortable to stdout (the terminal, unless redirected) in a format suitable for inclusion in C sourcecode, with values in hexadecimal.

The -r switch restores the standard colors. -c is a mild cLIeNUX tweak of the standard VGA defaults.
Color 0 is usually black, i.e. the background in a plain vt. The default colors (which you probably don't want to vary from too far in normal use) are.....

	#         red 	 green blue 	  name
       
	0         0      0     0          black
	1         170    0     0          red
	2         0      170   0          green
	3         170    85    0          bletch   
	4         0      0     170        blue
	5         170    0     170        magenta	
	6         0      170   170        cyan/turquoise
	7         170    170   170        light grey
	8         85	 85    85         grey
	9         255    85    85         bright red
	10        85     255   85         bright green
	11        255    255   85         bright yellow
	12        85     85    255        bright blue
	13        255    85    255        bright magenta
	14        85     255   255        bright cyan
	15        255    255   255        white           

EXAMPLE
textcolor 0 50 20 40
OTHER
see ls
see console_codes

RIGHTS
textcolor is the "setcolor" program as distributed in the SVGATextMode package, renamed and with the -c added. The sourcecode contains this credit... - Bob McCracken kerouac@ssnet.com. The setcolor.c file is from 1995.
This seedoc/manpage is copyright 19990413 Rick Hohensee and is not released for redistribution separate from cLIeNUX.