Now that we have covered the basic concepts regarding how to stroke and fill using solid color, we will get into the more complex 2D texturing algorithms available in SVG. These include color gradients, covered in this chapter, as well as seamless image patterns, which we will cover in Chapter 5.
In this chapter, we will look at the two different types of gradients supported in SVG and how to apply these to stroke and fill operations, which we just covered in Chapter 3. If you use the right colors in a gradient, it can make 2D look 3D.