More elegant solution for limiting number of particle hues