This is done using a technique known as bivariate choropleth mapping, where two color ramps combine into a hexagons-grid legend showing all pattern combinations.
When making a bivariate choropleth map, the goal is to show a sequence of two variables and their combinations.