Bugfix/iss8884

made the changes as discussed on the forum... please document that colors have precedence if both color and pattern properties have non-empty values.