The nervous system derives color by comparing the responses to light from the several types of cone photoreceptors in the eye.
Your nervous system compares your eye's response to light from cone photoreceptors. This is how you can see color.