fix off by one for colors