This sample uses a linear gradient to smoothly transition color along a line from one color to the next.