This article documents the formats of COL files used in Redguard that contain color palette data.
The overall file format of a COL file is:
dword FileSize // Always 776? dword Unknown byte PaletteData[768] // 256*3
The palette data is 3 bytes of data for each of the 256 colors and is arranged like:
byte Red byte Green byte Blue
Color values range from 0 to 255.