Glass gets its color through the addition of various metal oxides or other compounds during its production. These additives alter the way light passes through the glass, resulting in different colors.
Step 2: Role of Metal Oxides
Different metal oxides produce different colors in glass. For example:
Cobalt oxide results in a deep blue color.
Chromium oxide can produce green glass.
Iron oxide can result in shades of green or brown.
Manganese dioxide is used to create purple or amethyst glass.
Step 3: Influence of Glass Composition and Conditions
The final color of the glass can also be influenced by the base composition of the glass and the conditions under which it is melted and cooled. The presence of other elements and the temperature can affect the hue and intensity of the color.
Final Answer
\(\boxed{\text{Glass gets colored by adding metal oxides or compounds during production.}}\)