rgb man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

rgb(1)									rgb(1)

NAME
       rgb - build the color name database

SYNOPSIS
       rgb [ dbname ]

DESCRIPTION
       rgb reads from standard input lines of the form:

	    red	 green	blue	  name

       where red / green / blue are decimal values between the range 0 to 255,
       and name is a description of the color.	rgb then builds a  color  name
       database	 in  dbm  format.   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 input source for the
       database is in /usr/openwin/lib/rgb.txt.	 rgb.txt is compiled into  the
       dbm  files  rgb.dir  and	 rgb.pag.  When the server first starts up, it
       consults the contents of these files to build an	 internal  representa‐
       tion  of	 their contents.  This internal representation is consulted to
       map color names to color values.

       rgb   uses   the	  default   color   name   database   of    /usr/open‐
       win/lib/X11/rgb.txt.

OPTIONS
       dbname	 Color name database.

EXAMPLES
       example% rgb rgb < rgb.txt

       example% cat /usr/openwin/lib/rgb.txt

FILES
       /usr/openwin/lib/rgb.txt	     color  name  database source.  Maps color
				     names to RBG color values.
       /usr/openwin/lib/rgb.dir	     dbm file containing  color	 name  to  RGB
				     mapping.
       /usr/openwin/lib/rgb.pag	     dbm file containing the color name to RGB
				     mapping.

SEE ALSO
       bldrgb(1), cat(1), dbm(3)

			       23 February 1994				rgb(1)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net