color of key legend added
Merge pull request #21 from usik/master

Merged with Omid's code.