readcolortable function

Read binary colortable in v2 format.