Color is not a property of materials
Get & set material of an object
Material coefficients
Material examples (not tested)
Use materials in color computation
Merge pull request #10 from merlinND/materials

Basic materials