Abstract: Methods and apparatus, including computer program products, implementing and using techniques for defining a color gradient to be applied to a region. A gradient starting point is defined, a gradient ending point is defined, at least one intermediary point between the gradient starting point and the gradient ending point is defined, and a set of gradient attributes is defined. A first and a second set of values are defined for the set of gradient attributes, the first set of values defining a transition between the gradient starting point and the at least one intermediary point, and the second set of attribute values defining a transition between the at least one intermediary point and the gradient ending point. The first and second set of values are distinct.