CPICKER(1) — Kubota Pacfic Computer Inc. (May 1992)
NAME
cpicker − colormap editor for X11
SYNTAX
/usr/bin/X11/cpicker [-id id] [-root] [-wname name] [-display display]
DESCRIPTION
cpicker makes temporary changes to the installed colormap, allowing the user to observe the effects. It’s useful for trying to pick that perfect color or find the appropriate color combination for an application.
When cpicker first starts, it either uses the colormap of the window specified, or asks you to click on the window whose colormap you wish to edit. Then, it displays a grid of the color cells in the installed colormap. Click on the cell you wish to edit. A box will display in the upper-right corner containing the current color along with a label showing the current RGB values in X11 hex format.
To adjust the current color you can use one of the nine sliders, each controlling one of the RGB, HSV, or CMY values for the current color. Or you can click on a cell displayed in the palette to use its color. The palette button underneath the hex label switches between the three palettes: range, narrow, and wide. You can also click on the hex label to directly enter new RGB hex values.
If you click on the "match" button, the palette will change to the colors in the file /usr/lib/X11/rgb.txt, which are closest to the current color. As you select these colors, their names appear below the bottom buttons. Use the palette button to return the palette to an ordinary selection.
The "select" button allows you to choose another cell to edit. The "cancel" button restores the current color to its original value. The "restore" button restores all the cells of the colormap to their original value, and the "quit" button exits out of cpicker.
SEE ALSO
OPTIONS
-id id Specifies a target window id on the command line rather than using the mouse to select the target window.
-wname name
Specifies the window named name as the target window on the command line rather than using the mouse to select the target window.
-root Specifies the X root window as the target window.
-display display
Specifies the server to which to connect; see X(1).
BUGS
When clicking in a window to select its colormap, be sure to click in the window’s contents. Clicking in window manager real estate may or may not result in the correct colormap.
AUTHOR
Mike Yang, Silicon Graphics, Inc.
September 02, 1992