XRGB(1)

NAME
xrgb - Generate an RGB database for the X server

SYNOPSIS
xrgb [database]

DESCRIPTION
Xrgb is used to generate an rgb database from a human readable representation of the database. If a (single) argument is given it is taken to be the name of the database, otherwise the default database name /usr/lib/X11/rgb is used. The program creates two files using this name; database.pag and database.dir. The human readable representation is read from the standard input and converted into appropriate entries in the database. Each line must contain an entry for the database in the format:-

	red green blue	name

Where red, green and blue are integral values in the range 0 to 255. The name consists of all the characters after the last space after the blue value until the end of the line. The fields are separated by an arbitrary number of white space characters. An entry is stored in the rgb database with this name and an rgb value derived by scaling the input numbers to the range 0 to 65535 (as required by the X server).

FILES

/usr/lib/X11/rgb.txt
    The textual form of the default database.

/usr/lib/X11/rgb.{pag,dir}
    The default rgb database used by the X server.

SEE ALSO
Xserver(1) Xarm(1) showxrgb(1)