add support for color parameter
Merge pull request #2 from jasonlong/color-param-support

Add support for color parameter