From: P Newberry <newsoft@cae.ca>
Subject: Re: rgb-program for DIGITAL UNIX 4.0
Date: 1997/03/05 [thread overview]
Message-ID: <331DD9B5.29E4@cae.ca> (raw)
In-Reply-To: 331BCC97.167E@tcenter.erlm.siemens.de
Gerd Arzberger wrote:
> we want to add our own color names to the RGB database
> but there is no rgb binary on my AlphaStation.
>
> Does anybody know where I can find it ?
> Or is there another way to add the colors ?
starting with X11R5 you add colors like this:
- set environment variable XCMSDB to point to a color file
- here is a sample file:
XCMS_COLORDB_START 0.1
SeaBlue1 #51F38C5BC395
SeaBlue2 #1C225D898E14
Taupe1 #B78D90BB7925
Taupe2 #CA7EB93AA570
White RGBi:1.0/1.0/1.0
XCMS_COLORDB_END
- you don't need to recompile your color database
- avoid #RRGGBB if possible since it truncates color values instead
of rounding them (#F8F8F8 is brighter than #FFF)
next prev parent reply other threads:[~1997-03-05 5:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-04 5:00 rgb-program for DIGITAL UNIX 4.0 Gerd Arzberger
1997-03-05 5:00 ` P Newberry [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-03-03 5:00 Gerd Arzberger
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox