Adaptive color illumination for microscopes