Why is colour charge unrelated to visible color?
In physics, the term "colour charge" is used in quantum chromodynamics (QCD) as a mathematical analogy rather than a description of visual appearance. There is no connection between this subatomic property and colour in the usual sense.12
Physicists adopted the labels "red," "green," and "blue" because they mirror the way primary colours of light combine to produce white. In QCD, quarks carry these charges, and the strong force requires that particles exist in "colour-neutral" or "white" states. Just as red, green, and blue light add up to white, a baryon (such as a proton or neutron) combines one of each colour to achieve a net charge of zero. Similarly, mesons achieve neutrality by pairing a quark with an antiquark of the corresponding anticolour.312
Because these charges exist on a scale far smaller than the wavelength of visible light and operate within the subatomic realm, they have no relationship to the optical phenomenon of colour.12