Calculator Unit Conversion SI Prefixes Equations Physical Constants Periodic Table


Study and describe the composition of light. Describe how colors are formed.

White light can be formed by mixing red, green, and blue light. Color televisions and computer monitors produce tiny primary dots of color. When the correct amount of red, green and blue is displayed on the screen, it appears white.

How to Mix Colors in HTML

Computer with Web browser and monitor.

1. Open the browser on your computer.
2. Right-click on your browser and select View Source (a text editor program should open).
3. Type the code shown above into a new text file.
4. Save the new file as "color.htm".
5. Open the "color.htm" file with your browser, and observe and record the color that is displayed.
6. Repeat the experiment with the bgcolor="ffff00", and record the color displayed.
7. Repeat the experiment again with bgcolor="ffffff", and record the color.

1. What colors of light are needed to make white light? Explain.

2. Predict what code numbers are needed to display black. Explain your prediction.

3. Given the fact that the color spectrum has red, orange, yellow, green, blue, indigo and violet, how would a computer make orange light? How would it make yellow? Explain.