
[Q] What is the format of the colorkey.dat file?

[A] The first 16 lines are the names of the colors, and
the next 16 lines are what terrain feature they represent.
There follows 48 numbers in 16 sets of 3 which give the
RGB (red/green/blue) values for each of the 16 colors.
QuickBasic defines it's default color palette as follows:

                Red  Green  Blue
Black             0     0     0
Blue              0     0    42
Green             0    42     0
Cyan              0    42    42
Red              42     0     0
Magenta          42     0    42
Brown            42    21     0
White            42    42    42
Dark Grey        21    21    21
Light Blue       21    21    63
Light Green      21    63    21
Light Cyan       21    63    63
Light Red        63    21    21
Light Magenta    63    21    63
Light Yellow     63    63    21
Bright White     63    63    63

The program allows the user to modify these values via the
colorkey function (ctrl-k from the map), in effect creating
new colors not available in QuickBasic's default color
palette.

