The HDF_DFP_ADDPAL procedure appends a palette to a Hierarchical Data Format file.
HDF_DFP_ADDPAL, Filename, Palette
A scalar string containing the name of the file to be written.
A vector or array containing palette data. Palettes must be either [3, 256] arrays or 786-element vectors.