Increase performance calculating red/greens/blues min and max.