From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7c7fb496f622ee06 X-Google-Attributes: gidfee84,public From: P Newberry Subject: Re: rgb-program for DIGITAL UNIX 4.0 Date: 1997/03/05 Message-ID: <331DD9B5.29E4@cae.ca>#1/1 X-Deja-AN: 223350793 References: <331BCC97.167E@tcenter.erlm.siemens.de> Organization: CAE Newsgroups: comp.unix.osf.osf1 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)