Ahh yeah of course, I was forgetting that you could assign a name to the gradientstop elements Thanks, works like a charm