I have an SVG element - a rectangle.
Now, to color this element, I use fill attribute that works with any color.
fill
Now, I am trying to give it a strip
http://jsfiddle.net/mcab43nd/1/ - solution is here
Thanks to Lars and AmeliaBR
Here is the code