I think you want `!goog.isDefAndNotNull(options.color)` here.  Since the options takes `ol.Expression`, `null` is acceptable.