Can a leaf detect the difference in blue light coming from above and green light surrounding it? Can it detect the green and brown light surrounding it? The red light reflecting off a bird sitting above it?
If it’s sensitive enough to the different wavelengths a leaf wouldn’t really be all that much different from an eye.