Use hex string for toString()

Use hex string function for spectra object's toString() method. This allows for direct assignment to css properties.
Added tests for toString() and changed comment to block style
Merge pull request #11 from DavidTimms/master

Use hex string for toString()