palette
A window is displayed as in Figure 1, showing the 256 colors in the selected colormap, arranged as 16 columns, each representing 16 consecutive entries in the colormap. The hexadecimal numbers along the top of the window(0 to "f") indicate the 16 colormaps that may be selected by clicking the left mouse button while pointing at the desired number.
Figure 1 - A palette screen
Each color may be selected by clicking the left mouse button on the corresponding box. The 3 sliders above
will immediately display the RGB values by filling the sliders with the proportional
amount of red, blue and green. The color may be changed by manipulating the sliders
using the mouse to point to the desired RGB levels and clicking the left button.
Ramps can be created by clicking the first color using the left button,
then the second using the middle button.
The popup menu
The palette popup menu is controlled using the right mouse button. The menu contains the following items:
A colormap may be saved to a file by invoking the savemap program. It is invoked as:
savemap [-cMapnr] filename
where
Mapnr is the colormap number (0 - 15),
filename is the name of the file to save the colormap to.
Note that no space between -c and Mapnr is allowed.
A colormap saved using savemap may be loaded from a file by invoking the loadmap program. It is invoked as:
loadmap [-cMapnr] filename
where
Mapnr is the colormap number (0 - 15),
filename is the name of the file to load the colormap from.
Note that no space between -c and Mapnr is allowed.
I. Hernadi, P. Prusinkiewicz - palette documentation
2. The sliders used for RGB settings do not slide, rather they jump to the position selected by the mouse.
3. No space between -c and Mapnr is allowed.