RGB(1)
NAME
rgb - X Window System color database creator.
SYNOPSIS
rgb [filename] [<input filename]
DESCRIPTION
rgb creates a data base used by the X window system server for its colors. Stdin is used as its input and must be in the format of:
0-255 0-255 0-255 colorname
For example:
0 0 0 black
0 128 0 green
255 255 255 white
rgb stands for red-green-blue. Each element can have no intensity (0) to full intensity (255). How the elements are combined determines the actual color. The name given to the color can be descriptive or fanciful.
In other words, the sequence:
0 0 128
can be given the name ’blue’ or ’unicorn blue’. There can also be two (or more) entries with the same element numbers or names.
ARGUMENTS
filename If filename is given, rgb produces two files; filename.dir and filename.pag. Otherwise the default filename is /usr/lib/X11/rgb.
ORIGIN
MIT Distribution
SEE ALSO
— June 06, 1991