Fix type of value parameter in setColor 

Parameter value receives Strings as options.getOptionValue returns string. This fixes --color option.
Introduced local variable of type boolean
Merge pull request #387 from vihangd/master

Fix type of value parameter in setColor