I mean, sunlight is composed of the whole rainbow of colors, each a separate wavelength, and the colors we see when we look at a leaf are the wavelengths that leaf isn't absorbing -- that is, the ones that bounce off the leaf and reach our eyes.