Which receptor cells most directly enable us to distinguish different wavelengths of light?

Which receptor cells most directly enable us to distinguish different wavelengths of light?

A. rods
B. cones
C. bipolar cells
D. feature detectors