Contidos dentro
Localizar Mais Documentação
Destaques de Recursos de Suporte
| Fazer download desta apostila em PDF
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 /usr/openwin/lib/X11/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 color name database of /usr/openwin/lib/X11/rgb.txt.
OPTIONS
-
-
dbname
- Color name database.
EXAMPLES
- example% showrgb /usr/openwin/lib/rgb
- example% cat /usr/openwin/lib/rgb.txt
FILES
-
-
/usr/openwin/lib/rgb.txt
- color name database source. Maps color names to RGB
- color values.
-
-
/usr/openwin/lib/rgb.dir
- dbm file containing color name to RGB mapping.
-
-
/usr/openwin/lib/rgb.pag
- dbm file containing color name to RGB mapping.
SEE ALSO
-
bldrgb(1), cat(1), rgb(1), dbm(3)
|
|