Grade.js is a JavaScript library released by Ben Howdle that automatically generates complimentary gradients from the top two dominant colours in supplied images.

View Demo View on Github