Here is an example with a table containig some data about Canadian provinces and a gif file containing a companion map.
Province Color Surface SurfWater SurfForest SurfFarm Population Yukon 128 483450 4480 275.5 0 31.6 North-East Territories 129 3426320 133300 614.4 0 67.5 British Columbia 130 947800 18070 605.6 25290.6 3933.3 Alberta 131 661190 16800 382.1 210292.3 2847 Saskatchewan 132 652330 81630 288.1 265690.6 1023.5 Manitoba 133 649950 101590 262.8 77321.4 1145.2 Ontario 134 1068580 177390 580 56168.6 11407.7 Quebec 135 1540680 183890 839 34562.1 7419.9 Newfoundland 136 405720 34030 225.2 438.4 563.6 Nova Scotia 137 55490 2650 39.2 4273.2 947.9 New Brunswick 138 73440 1350 61.1 3860.2 762 Prince Edward Island 139 5660 0 3 2652.2 137.2
Notice the second column: Color :
it contains the palette index of the color used for each province in the gif file below.Here is the palette used in the gif file. Colors 128 to 139 are exclusivly used for provinces. These color numbers are found in the column Color in the above table. These colors must not be used anywhere else in the image, othewise these area will change color as well.
All other colors may be used for the rest of the map.Canada map used in the examples