save custom colors for channels in xml and hdf