Vision is not seeing the world.
It is experiencing a representation of the world created by the brain in response to stimulation from the world.
The brain can create "blue". Just close your eyes and force your brain to do it.
The brain is a responsive organism.
That is part of the story. The brain receives a variety of stimulus at the eye and responds by constructing the experience of vision from it. The brain is receptive, responsive and creative. Pain is pure creation. There is no correlate to pain in the external world. Pain is pure subjective experience. Pure brain creation. Color is the same thing. Pure creation of the brain. Not a thing in the world.
Every thought that comes from nowhere into consciousness shows the creative nature of the brain.
Consciousness is a creation. The desk in the mind is not the same desk in the world. It is a representation of the desk in the world. Created by the brain as a visual experience. The entirety of the visual experience is a creation by the brain. There are over 30 areas of the brain that are involved in creating the visual experience.
No invention, here, no divinity, no magic, just hard dirt driven activities hopefully best suited to where the being finds itself.
The creation of the experience of pain is not magic.
Nor is the creation of the experience of color.
Nor is the creation of consciousness and the ability to have experiences.
An experience is not energy hitting a few switches. A visual experience is what the brain makes out of the information from switches in the eye. The external world does not enter the eye and travel to the brain. The brain has no access to the external world. It only has access to the information from receptor cells.
That particular kind of information, color, key to becoming part of the information the brain must be of certain frequencies to which biological system can respond.
There is no color information in EM radiation. There is only a variety of information. The brain uses this variety and creates color. Color creation clearly helps in many survival tasks like recognizing poisonous animals and fruit. That's why it is still around.
That means the only way information can get in is via photosensitive material imbedded in receptors.
Within a tiny part of the EM spectrum there is energy that can cause chemical reactions in the eye. Depending on the wavelength the receptor cells send a different signal to the brain. All the receptor cells can do is discern variation within the EM radiation. The energy varies by wavelength. It does not have color or color information. It has variety. That is all.
The brain has all the color information and it uses this information to create the different colors people can experience. Color is only an experience. A brain created experience like all experiences.
That's why its important to see that prior to entering the brain proper, the receptor system including ganglion cells determine if, what, and how that information comes to brain.
The receptor cell behaves reflexively. It is a switch. It does not make decisions. You have not moved one inch past this metaphor. EM energy is just a hand that throws a switch. And depending on the shape of the hand (energy level of the photons) you have different switches thrown.
The brain creating all of consciousness is not magic. The brain creating the experience of pain or smell or taste is not magic.
The brain creating color is not magic.
I've taken away your pot. Quit trying to piss in it.
My pot is right here. I smoke it regularly.
You have no argument that demonstrates color is not a pure creation of the brain.