Color index out of range i