Sample representation in color images

24 bit/pixel

- true color

16 bit/pixel

- hi-color

8 bit/pixel

- indexed color

In the latter representation, a sample value is an index to table of predefined colors called a palette. Usually, a palette contains 256 colors and is addressable by 8-bit indices.