Inside a television there is a big glass chamber which has had all the air sucked out to make a vacuum. At the back of this chamber is an electrical gun which fires electrons towards the back of the screen. The screen is covered with tiny lumps of phosphor, which glows when an electron hits it. If you cover the whole screen with one colour of phosphor, you get a black and white tv.
To make a colour tv screen, they put tiny spots of three different colours of phosphor on the screen in groups. Each group contains a spot of red, a spot of green and one of blue. Lighting these up in different combinations can make all the colours you see on your tv.
As electrons fly towards the screen, they can be moved using a magnetic field - this lets you aim the electrons at the right spot of phosphor and get the right colours in the right place.
When you put a magnet near the tv, it diverts the electrons away from where they should go, and so the wrong phosphor spots light up and you don't get the right colours
. A standard television has three 'electron guns' at the back of the set, they are primary colors red green and blue...which mix up to form any color...we can see all the three colors when magnet is placed near TV. (not only green and red)