making bigest colour bigger than maxval