Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rgb(1) — HP-UX 9.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X(1)

RGB(1)  —  X Version 11

Release 5

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

X(1)

Hewlett-Packard Company  —  HP-UX 9.0 August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026