An ophthalmic endoilluminator has a power supply coupled to a light source, a controller, a collimation device, an alignment device, a lens, and an optical fiber. The light source has three light emitting diodes. Each of the three light emitting diodes produces a different color light. The controller controls the operation of the three light emitting diodes. The collimation device collimates the light produced by at least one of the light emitting diodes. The alignment device aligns the light individually produced by the three light emitting diodes into a single light beam. The lens focuses the single light beam. The optical fiber for carries the single light beam.