title: 4 Color Gradient using Java awt
body: <p>I´m trying to create a 4 color gradient to fill a rectangle. Each corner will have a diferent color.</p>
  
  <p>The result image I´m trying to achieve is something like this:</p>
  
  <p><a href="https://www.dropbox.com/s/vu3yxbaenu2cnwg/Screenshot%202014-08-29%2012.53.43.png?dl=0" rel="nofollow">https://www.dropbox.com/s/vu3yxbaenu2cnwg/Screenshot%202014-08-29%2012.53.43.png?dl=0</a></p>
  
  <p>There is a lot of helpful resources on how to make a 2 color gradient, but none for more than 3.</p>