Inkscape extension to apply a gradient of colors accross selected objects.
Install objectgradient.inx and objectgradient.py in Inkscape extension path ("${HOME}/.config/inkscape/extensions/" on GNU/Linux). Launch Inkscape.
Select objects to witch apply the gradient. Use the extension from "Extensions -> Render -> Object gradient".