Previous Topic   Next Topic   Contents   Commands
by Function
  Commands
Alphabetically

QPALET Initialization Commands

QPalet Reset { 8 | 16 }

Initialize Sabrina's colors to the first 8 default colors or to the 16 default colors.

QPalet Initialize
CNAME1 R1 G1 B1
[CNAME2 R2 G2 B2 ; ...]
.

Initialize the color map by assigning names and RGB (RedóGreenóBlue) definitions for up to 20 colors.

The names CNAMEi can be up to 8 characters.

The RGB values range between 0 and 1, with 1 being full intensity for that color component.

Terminate the entries with either a period in column 1 or a carriage return without any input. The levels of shading for each color will be set to the maximum allowed.

The number of shades can be reduced with QPALET SET.

After executing QPALET INITIALIZE, the default cell color, the background color, and the error color must all be re-defined.

Example:

QP/I ; WHITE 1 1 1 ; BLACK 0 0 0
RED 1 0 0 ; GREEN 0 1 0 ; BLUE 0 0 1
YELLOW 1 1 0 ; MAGENTA 1 0 1
BROWN .7 .5 .3 ; ORANGE 1 .8 0
.

QPalet Gamma { Cgs | None | Reverse }

Use the default CGS gamma correction, no correction, or a reverse of the CGS correction. The gamma correction maps the computed color intensity to RGB values used on the screen and in hardcopy.