This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Easy question


Troy Bull wrote on Wednesday, March 12, 2008 5:45 PM::

> Greetings
> 
> I use rxvt and I use the -fg and -bg to set colors.  Where can i find
> a list of the colors that I can put in there.  I know I can do the
> obvious ones, Black, White, Blue, etc but I also found "Wheat" and
> some other ones work.  I would like to know if there is a list in a
> file anywhere that says all the ones that work.
> 
> 
> 
> Thanks
> Troy

If you've installed the xorg-x11-libs-data package, you'll
find the list in /usr/X11R6/lib/X11/rgb.txt

If you haven't installed that package, and don't want to, I'm
sure a google for rgb.txt will uncover a copy or two.

Another option if you've installed the xorg-x11-bin package
is to run the showrgb command.

Unless you can't resist the idea of requesting a foreground such 
as PapayaWhip, you can also specify colours numerically using the 
standard X11 syntax, e.g. "rgb:c0/00/f0", or "#c000f0".

"man X", then search for "COLOR NAMES", for more extensive info.


Phil

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]