Wavelength → colour
Shorter wavelengths carry more energy per photon: E = hc / λ. A 350 nm UV photon packs about 60% more energy than a 560 nm green one. Each photoreceptor's pigment absorbs best at one wavelength (its λmax) and less on either side. An eye compares cells with different λmax to see colour.