The three kinds of human cones have different photopsins. Each photopsin has a different response curve to light, and so responds to color in different ways. This gives trichromatic vision. Being color blind means a lack of one or two types of cone cells.