title: Fabric.js BlendColor Image Filter
body: <p>I am having trouble changing the color of a small png on the canvas in Fabric.js.</p>
  
  <p>In my research, I found that I could use <code>new fabric.Image.filters.Tint()</code> to modify the color of an image in the way that I was looking to. However, there is no <code>Tint()</code> constructor in v2 of Fabric. According to <a href="http://fabricjs.com/fabric-filters" rel="nofollow noreferrer">this page</a>, <code>Tint()</code> is now part of the <code>BlendColor()</code> filter. I have tried various things with <code>BlendColor()</code>, but I have yet to get it to work. Any advice on how to use <code>BlendColor()</code> or some other filter to accomplish what I want is much appreciated.</p>
  
  <p>My best guess is to do something like this, but it doesn't work:</p>
  
  <pre><code>var filter = new fabric.Image.filters.BlendColor({
   color: '#c9f364',
   mode: 'multiply'
  });
  
  canvas.getObjects()[0].filters.push(filter);
  canvas.getObjects()[0].applyFilters();
  canvas.renderAll();
  </code></pre>