Red, green, and blue are the primary colours when you are mixing coloured light, a combination of all three primary colours RGB in light, results in white, which is why a white computer screen is comprised of thousands of individual, segments of red, blue, and green. If you find a water droplet on a white screen you will often see a rainbow of colours. Colour mixing with light is known as additive colour mixing, which has the opposite effect of mixing a physical substance such as paint.
Subtractive colour mixing refers to mixing a physical substance like paint, dye, or ink. When all three colours are mixed, Yellow, Cyan, and Magenta CMY , you create black K for black, or Key. Mixing yellow with cyan creates green, magenta and yellow creates red, magenta and cyan creates purple, varying degrees of magenta and yellow create orange.