title: How to set custom color to leaflet ExtraMarkers
body: <p>I am using leaflet <a href="https://github.com/coryasilva/Leaflet.ExtraMarkers" rel="nofollow noreferrer">ExtraMarkers</a> and I would like to set custom color. It should be possible by svg.</p>
  
  <p>this is my definition of marker icon:</p>
  
  <pre><code>            var coloredMarker = L.ExtraMarkers.icon({
                  svg: true,
                  markerColor: "#66ff33",
              });
  </code></pre>
  
  <p>and marker:</p>
  
  <pre><code>var marker= new L.marker([latitude,longitude], {icon: coloredMarker}).addTo(map);
  </code></pre>
  
  <p>But result is that color of marker is default - red</p>
  
  <p>Can you help?</p>