The basic colour modes are Red, Green, Blue (RGB) and Cyan, Magenta, Yellow, Black (CMYK). They are known as colour spaces and they determine how images are seen and reproduced.
Electromagnetic radiation comes in the form of wavelengths and its total range is known as the spectrum. The range covers gamma rays, X-rays, ultra-violet, visible light, infra-red, radar, microwaves, various radio waves and extremely low frequencies.
The only part of this spectrum which can be seen by the human eye is a very small section in the middle seen as white light. White light is refracted into its component colours of red, orange, yellow, green, blue, indigo and violet, which we see as the rainbow colours. The primary colours are red, green and blue.