title: How to mimic Photoshop "Color Overlay" in CSS
body: <p>I have a button designed with Photoshop. The button has a gradient defined and I know how to generate it using <a href="http://www.colorzilla.com/gradient-editor/" rel="nofollow">Ultimate CSS Gradients Tool</a>.</p>
  
  <p>The problem is the button also has a 'Color Overlay' and I don't know how to convert it to css terms?!</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>O.K, just to clarify, I know CSS quite well and i know how to set styles to elements.</p>
  
  <p>I have this gradient:</p>
  
  <pre><code>/* IE9 SVG, needs conditional override of 'filter' to 'none' */
          background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2IzYjdiZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijg1JSIgc3RvcC1jb2xvcj0iIzZhNzI3ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
          background: -moz-linear-gradient(top,  rgba(179,183,189,1) 0%, rgba(106,114,125,1) 85%); /* FF3.6+ */
          background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(179,183,189,1)), color-stop(85%,rgba(106,114,125,1))); /* Chrome,Safari4+ */
          background: -webkit-linear-gradient(top,  rgba(179,183,189,1) 0%,rgba(106,114,125,1) 85%); /* Chrome10+,Safari5.1+ */
          background: -o-linear-gradient(top,  rgba(179,183,189,1) 0%,rgba(106,114,125,1) 85%); /* Opera 11.10+ */
          background: -ms-linear-gradient(top,  rgba(179,183,189,1) 0%,rgba(106,114,125,1) 85%); /* IE10+ */
          background: linear-gradient(to bottom,  rgba(179,183,189,1) 0%,rgba(106,114,125,1) 85%); /* W3C */
  </code></pre>
  
  <p>But like i mentioned, In photoshop there is also a Color Overlat defined which makes the button a bit darker, so in photoshop the button looks darker then in the browser, So my question is how do i combine the gradient and the Color Overlay in one CSS rule to make the button look exactly the same as in photoshop.</p>