Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 1997 09:28:32 +0100 (MET)
From:      Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE>
To:        lsmarso@panix.com (Larry Marso)
Cc:        questions@FreeBSD.org
Subject:   Re: specifying colors with -fg/-bg
Message-ID:  <199702240828.JAA27743@gil.physik.rwth-aachen.de>
In-Reply-To: <XFMail.970223200211.lsmarso@panix.com> from Larry Marso at "Feb 23, 97 07:56:35 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> I've picked a few colors I'd like to use as foreground/background combinations
> in xterms, through the -fg, -bg commands.
> 
> What I have is the RGB/HSV codes.  How do I translate these into numbers the
> -fg/-bg commands will understand?

When you have the rgb values you can use

xterm -fg \#aaaabbbbcccc -bg \#112233

(you can use rrggbb or rrrrggggbbbb).

> 
> Regards.
> ----------------------------------
> Larry Marso <lsmarso@panix.com>
> date: 23-Feb-97
> Time: 19:56:35
> 

--
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199702240828.JAA27743>