How to vary the color along a stoke