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