Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 1997 19:12:01 -0800 (PST)
From:      Snob Art Genre <ben@narcissus.ml.org>
To:        Larry Marso <lsmarso@panix.com>
Cc:        questions@FreeBSD.org
Subject:   Re: specifying colors with -fg/-bg
Message-ID:  <Pine.NEB.3.95.970223190939.21870A-100000@narcissus.ml.org>
In-Reply-To: <XFMail.970223200211.lsmarso@panix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 23 Feb 1997, Larry Marso wrote:

> 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?

Use RGB hexadecimal codes, prefixed with a #:

xterm -fg #nnnnnn -bg #nnnnnn

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



 Ben

"You have your mind on computers, it seems."




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.970223190939.21870A-100000>