SVG.js

svg.colorat.js

svg.colorat.js is an extension for SVG.js which allows you to pick a colour from a gradient at a specific given position.

Fork me on GitHub