title: CSS Brightness and Contrast Animation
body: <p>I have a solid background that I want to alternate the brightness of on a loop using CSS on Chrome. The background will change to match a user's profile so it won't always be the same color.</p>
  
  <p>As an example: The background could start out red, transition to a pinkish color and then back to red after a second.</p>
  
  <p>Another example: The background could start out blue, transition to a baby blue color and then back to blue after a second.</p>
  
  <p>I can accomplish the color effect by adjusting the brightness and contrast of the color but I don't know how to do this with webkit.</p>
  
  <p><strong>How can I alternate the brightness and contrast using CSS and webkit?</strong></p>