Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>UPDATE:</strong></p> <p>In order to do that you will need to use -webkit-mask-image on CSS. This used to be a webkit only but it's now w3c css3.</p> <p>The support is just present on webkit tho. In order to keep backward compatibility and display a regular black icon you will need to identify if the browser has this capabilities. I'v archived that using <a href="http://modernizr.com/" rel="nofollow">modernizr</a>.</p> <p><a href="http://jsfiddle.net/kkobold/Zq5FZ/5/" rel="nofollow">http://jsfiddle.net/kkobold/Zq5FZ/5/</a></p> <p>old answer:</p> <blockquote> <p>I believe thats the result you are looking for:</p> <p><a href="http://s7.postimage.org/vo5v33tuj/Screen_Shot_2013_02_03_at_11_28_46_PM.png" rel="nofollow">http://s7.postimage.org/vo5v33tuj/Screen_Shot_2013_02_03_at_11_28_46_PM.png</a></p> <p>you can archive it by filtering to sepia and then changing hue degree. different combinations will give different results. But a simple color picker can be made for the hue and a slide for sepia to increase or decrease intensity of the color change.</p> <p>and CSS3 only.</p> <pre><code>&lt;div class="pull-left span4" &gt; &lt;img src="/img/bw.jpg" style="-webkit-filter: sepia(0.0) hue-rotate(0deg);" width="300"/&gt;&lt;br /&gt; -webkit-filter: sepia(0) hue-rotate(0deg); &lt;/div&gt; &lt;div class="pull-left span4" &gt; &lt;img src="/img/bw.jpg" style="-webkit-filter: sepia(0.8) hue-rotate(50deg);" width="300"/&gt;&lt;br /&gt; -webkit-filter: sepia(0.8) hue-rotate(50deg); &lt;/div&gt; &lt;div class="pull-left span4" &gt; &lt;img src="/img/bw.jpg" style="-webkit-filter: sepia(0.8) hue-rotate(100deg);" width="300"/&gt;&lt;br /&gt; -webkit-filter: sepia(0.8) hue-rotate(100deg); &lt;/div&gt; &lt;div class="pull-left span4" &gt; &lt;img src="/img/bw.jpg" style="-webkit-filter: sepia(0.8) hue-rotate(150deg);" width="300"/&gt;&lt;br /&gt; -webkit-filter: sepia(0.8) hue-rotate(150deg); &lt;/div&gt; &lt;div class="pull-left span4" &gt; &lt;img src="/img/bw.jpg" style="-webkit-filter: sepia(0.8) hue-rotate(200deg);" width="300"/&gt;&lt;br /&gt; -webkit-filter: sepia(0.8) hue-rotate(200deg); &lt;/div&gt; &lt;div class="pull-left span4" &gt; &lt;img src="/img/bw.jpg" style="-webkit-filter: sepia(0.8) hue-rotate(250deg);" width="300"/&gt;&lt;br /&gt; -webkit-filter: sepia(0.8) hue-rotate(250deg); &lt;/div&gt; &lt;div class="pull-left span4" &gt; &lt;img src="/img/bw.jpg" style="-webkit-filter: sepia(0.8) hue-rotate(300deg);" width="300"/&gt;&lt;br /&gt; -webkit-filter: sepia(0.8) hue-rotate(300deg); &lt;/div&gt; &lt;div class="pull-left span4" &gt; &lt;img src="/img/bw.jpg" style="-webkit-filter: sepia(0.8) hue-rotate(350deg);" width="300"/&gt;&lt;br /&gt; -webkit-filter: sepia(0.8) hue-rotate(350deg); &lt;/div&gt; </code></pre> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload