From my understanding considering the 8-bit bitmap file
In the bitmap file the first 54 bytes are Header info.Secondly 256 * 4 palette table, where every 4 byte in the pallete table 4th byte is dummy. i.e
RGBD - R --> Red - (1 byte >>2 )
G --> Green- (1 byte >>2)
B -->Blue - (1 byte >>2)
D --> Dummy byte which is zero
So R,G and B has 6 bits each. Once after the Pallette table, there will be data which represents the index for the pallette table.
Now i don't understand, how to retreive the colour value by having the data and the pallete table.
Please any one help me in this regards