title: How can I reproduce Apple's iOS Tint-Color Formula for Toolbar/Button gradients?
body: <p>We're looking to reproduce the way Apple applies a tint-color to their controls. We're developing a web-based product and thus have to reproduce the formula/application of the color ourselves.</p>
  
  <p>Our analysis shows that its non-trivial and at the very least non-linear since some colors reproduce entirely different hues.</p>
  
  <p>The prefect answer would include a formula and/or an explanation of how to calculate the gradients for the toolbar as well as the buttons on the toolbar given a Tint Color.</p>