We can think of light as waves traveling through space, like ripples across a pond. Light can have different wavelengths -- different distances between the crest of one wave and the crest of the next. Different wavelengths of light give us the sensation of different colors. Those are some abstract but basic ideas about light. Here's how to see those ideas in action.
Make a solution of soapy water in a shallow bowl. Take a coffee cup and lower it, mouth down, into the soapy water, then lift it out gently. You want a thin soap-bubble film across the mouth of the cup.
Now hold the cup so the soap-bubble film is vertical. Hold the cup so you can see the reflection of a bright light -- the sky, for instance -- in the surface of the bubble. After a few seconds you'll see bands of color appear near the top of the bubble, slowly moving downward.
The soapy water has no color of its own. The thickness of the bubble makes the colors. Wherever the bubble is thick enough to accommodate a whole number of waves of, say, red light, red light will be reflected to your eye, because red-light waves bouncing off the back side of the bubble will be exactly in step with red-light waves bouncing off the front of the bubble. The same goes for other colors. As the bubble's thickness changes, so do the colors.This is the same process that makes colors in oil floating on water. And most of the blue colors in bird feathers and butterfly wings also come about in the same way—not through colored dyes, but through reflection of light from both sides of a thin film.