Make ranges dynamic based on number of color options.