showrgb(1) — USER COMMANDS
NAME
showrgb − display the color name database
SYNOPSIS
showrgb [ dbname ]
DESCRIPTION
showrgb displays the contents of the dbm format color name database. The color name database provides a mapping between ASCII color names and RGB color values. It is useful for increasing the portability of color programs. The source of the database is in $OPENWINHOME/lib/rgb.txt. rgb.txt is compiled into the dbm database files rgb.dir and rgb.pag. When the server first starts up, it consults the contents of these files to build an internal representation of their contents. This internal representation is consulted to map color names to color values. showrgb is useful in debugging color name databases to guarantee that the binary file is representative of the ASCII source file. showrgb uses the default dbname of /usr/lib/X11/rgb.
OPTIONS
dbnameColor name database.
EXAMPLES
% showrgb $OPENWINHOME/lib/rgb % cat $OPENWINHOME/lib/rgb.txt
FILES
$OPENWINHOME/lib/rgb.txt
color name database source
$OPENWINHOME/lib/rgb.dir
dbm file containing rgb bit map
$OPENWINHOME/lib/rgb.pag
dbm file containing rgb data
SEE ALSO
bldrgb(1), cat(1), dbm(3), rgb(1)
Sun Release 4.1 — Last change: 26 September 1990