From owner-freebsd-questions Mon Feb 24 00:23:51 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id AAA08059 for questions-outgoing; Mon, 24 Feb 1997 00:23:51 -0800 (PST) Received: from Campino.Informatik.RWTH-Aachen.DE (campino.Informatik.RWTH-Aachen.DE [137.226.116.240]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA08054 for ; Mon, 24 Feb 1997 00:23:48 -0800 (PST) Received: from gil.physik.rwth-aachen.de (gilberto.physik.rwth-aachen.de [137.226.31.2]) by Campino.Informatik.RWTH-Aachen.DE (RBI-Z-5/8.6.12) with ESMTP id JAA19797; Mon, 24 Feb 1997 09:23:43 +0100 (MET) Received: (from kuku@localhost) by gil.physik.rwth-aachen.de (8.8.4/8.6.9) id JAA27743; Mon, 24 Feb 1997 09:28:33 +0100 (MET) From: Christoph Kukulies Message-Id: <199702240828.JAA27743@gil.physik.rwth-aachen.de> Subject: Re: specifying colors with -fg/-bg In-Reply-To: from Larry Marso at "Feb 23, 97 07:56:35 pm" To: lsmarso@panix.com (Larry Marso) Date: Mon, 24 Feb 1997 09:28:32 +0100 (MET) Cc: questions@FreeBSD.org Reply-To: Christoph Kukulies X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by freefall.freebsd.org id AAA08055 Sender: owner-questions@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > 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 > date: 23-Feb-97 > Time: 19:56:35 > -- Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de