fixed color generation for large datasets