Light color is a function of photon energy. When different colors of light are mixed, they give the appearance of yet other colors of light. A colored object absorbs light that is different from the color of the object and reflects light that is the same as the object.
Objects get their color from pigments that act to absorb some colors of light and reflects others.
The primary colors for mixing colored lights are red, blue and yellow. To explain how color addition and subtraction work. Using flashlights students will use these onto a screen to produce magenta, cyan, and yellow. Different filters can also be used on the flashlights to produce mixtures on a screen. Perhaps you have seen that red, blue and green light shone against the same spot on a white wall combine to reflect a bright white light.