getColourIdx.m