http://www.mrsec.wisc.edu/Edetc/LEGO/LEGO%20PT%20final.html
Each LEGO® brick links to building instructions for a model of the solid state structure for that element. The colors of the bricks represent different types of elements:
• green = main group metals
• red = metalloids
• yellow = transition metals
• white = nonmetals
The small blue bricks are the number of valence electrons for the neutral form of that element (main group elements only).