compute fill color for Beam using scenery.LinearGradient