Blue glass is colored blue because it will absorb the yellow and red light spectrum. The result should be only blue light reflected or pass through the glass. Cobalt glass is used to filter out the light made by sodium because sodium can produce a high-intensity light that could mask other metal.