10.2 The element module
Keywords: viewmol

## 10.2 The `element` module

`getSymbol`()
  Returns the element symbol for an element.

`darkColor`([red, green, blue])
  Sets or returns the red, green, and blue values for the darkest part of an atom of an element. If red, green, and blue are given they have to be floats between 0.0 and 1.0. If the color is queried, it is returned as a tupel of red, green, and blue values.

`lightColor`([red, green, blue])
  Sets or returns the red, green, and blue values for the lightest part of an atom of an element. If red, green, and blue are given they have to be floats between 0.0 and 1.0. If the color is queried, it is returned as a tupel of red, green, and blue values.

`emissionColor`([red, green, blue])
  Sets or returns the red, green, and blue values of the color an atom of an element emits. If red, green, and blue are given they have to be floats between 0.0 and 1.0. If the color is queried, it is returned as a tupel of red, green, and blue values.

`ambientColor`([red, green, blue])
  Sets or returns the red, green, and blue values of the ambient color of an atom of an element. If red, green, and blue are given they have to be floats between 0.0 and 1.0. If the color is queried, it is returned as a tupel of red, green, and blue values.

`specularColor`([red, green, blue])
  Sets or returns the red, green, and blue values of the specular color of an atom of an element. If red, green, and blue are given they have to be floats between 0.0 and 1.0. If the color is queried, it is returned as a tupel of red, green, and blue values.

`shininess`([shininess])
  Sets or returns the shininess of an atom of an element. If shininess is given it has to be a float between 0.0 and 128.0.

`transperancy`([transperancy])
  Sets or returns the transperancy of an atom of an element. If transperancy is given it has to be a float between 0.0 and 1.0.