A palette entry is a 24-bit descriptor of the colour to be used. It is in the form of: &BBGGRRXX
Where BB, GG and RR are the blue, green and red components respectively. XX is undefined, and may be used to indicate the actual colour number, a masking value or some other arbitrary flag.