Shine sunlight through a glass prism and a band of colors fans out on the wall: red, orange, yellow, green, blue, violet. The prism did not paint the light. Sunlight already contained all those colors, mixed so evenly that the mix looks white. Glass bends short wavelengths a little more than long ones, so the colors leave the prism at slightly different angles and spread apart. Raindrops do the same thing to make a rainbow.
Each color is a band of wavelengths. Red light has waves about 700 nm long (a nanometer is a billionth of a meter), green is near 530 nm, and violet is about 400 nm. All of them travel at the same speed, so shorter waves arrive more often: violet has a higher frequency than red. Just past red is infrared, which you feel as warmth from a stove; just past violet is ultraviolet. Neither is visible, but both are the same kind of wave.
Brightness and color are separate. Turning up a red lamp sends out more red light, not a different wavelength, so it stays red and just gets brighter. A tomato looks red because it absorbs most wavelengths and reflects mainly red ones. Light the tomato with only blue light and it looks almost black, because there is no red light for it to reflect. So when an object's color seems to change, ask what wavelengths reached it, not only what the object is.
Think of it like this. White light is like a choir singing every note at once: you hear one full sound, but a trained ear can pick out the separate notes, the way a prism picks out the colors. Each color is one pitch, set by wavelength. The match is not perfect: mixing only red, green and blue light can fool your eye into seeing white.
Core idea. Color is wavelength: the eye detects about 400-700 nm, red at the long end and violet at the short end, and white light is all of those wavelengths mixed together.