readcolortable_oldformat function

Read binary colortable in old format.