A diverging palette is used when a numeric variable has a meaningful central value, like zero. A diverging palette is essentially a combination of two sequential palettes with a shared endpoint sitting at the central value. Values larger than the center are assigned to colors from one palette, while smaller values get assigned to colors on the opposing side.