Limit number of colors used