# ImageMagick ColorPacket Structure

The ColorPacket structure is used to represent color options as well as the color palette for PseudoColor images in ImageMagick.

The members of the ColorPacket structure are shown in the following table:

ColorPacket Structure Members
Member | Type | Description
red | unsigned short | Red
green | unsigned short | Green
blue | unsigned short | Blue
index | unsigned short | Position in colormap