How red, green and blue light combine to give different colours

Red and green light combine to give yellow light.

Red and blue light combine to give magenta light.

Blue and green light combine to give cyan light.

Red, blue and green light (i.e. all the 3 primary colours) combine give white light.