Good point. Thanks, @gero3. All of the helpers will need to be fixed.

    var color = ( hex !== undefined ) ? hex : 0xffffff;