“top” dictates not just the starting point, but the direction. Absent anything else, “top” will make the gradient vertical, from top to bottom. Similarly “bottom” would make it vertical in the opposite direction (ie blue on top). Can also do “left” and “right” for horizontal gradients.