Redder light has longer , lower f , and less energy. This quantum behavior of atoms could explain the drop-off of a continuous spectrum's shape at the short wavelength end. You can consider light as packets of energy called photons . A photon is a particle of electromagnetic radiation. Bizarre though it may be, light is both a particle and a wave.
Light can also behave as a particle and a wave at the same time.
The electrons are detected by electronics that interpret the number of electrons released and their position of release from the silicon to create an image. This happens so quickly that it is undetectable to the human eye. If white light is examined, then the spectrum will be a rainbow. The photons in a dim beam of X-ray light are much more energetic than the photons in an intense beam of infrared light. This scale is the Kelvin scale.