From owner-freebsd-questions Sun Feb 23 19:12:13 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA21494 for questions-outgoing; Sun, 23 Feb 1997 19:12:13 -0800 (PST) Received: from narcissus.ml.org (root@brosenga.Pitzer.edu [134.173.120.201]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA21485 for ; Sun, 23 Feb 1997 19:12:10 -0800 (PST) Received: from localhost (ben@localhost) by narcissus.ml.org (8.7.5/8.7.3) with SMTP id TAA21903; Sun, 23 Feb 1997 19:12:01 -0800 (PST) Date: Sun, 23 Feb 1997 19:12:01 -0800 (PST) From: Snob Art Genre To: Larry Marso cc: questions@FreeBSD.org Subject: Re: specifying colors with -fg/-bg In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 > date: 23-Feb-97 > Time: 19:56:35 > Ben "You have your mind on computers, it seems."