There are four commands for controlling the palette, all beginning PAL. If you inherit the graphics device after a non-KAPPA user or after a device reset, you will probably have to reset the palette. You can do this either by loading the default palette--black, white, the primary then secondary colours, and eight equally spaced grey levels--with the command PALDEF; or load a palette you've created yourself via PALREAD. You modify the palette by changing individual colours within it using PALENTRY. The colour specification can be a named colour , or RGB intensities. For example,
% palentry 1 Skyblue
% palentry 14 [1.0,1.0,0.3]
would make palette index 1 sky blue and index 14 a pale yellow. Once you have a palette you like, save it in an NDF with PALSAVE.
Palette entry 0 is the background colour. By choosing a palette colour
equal to the background colour, features may be `erased'.
KAPPA --- Kernel Application Package