Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Interaction between dropdown menus

I’m working with dropdown menus as shown in What I want to achieve is to have some interactions between multiple drop down menu. I want the updates to be based on a combination of the options in the dropdown menu.

An example would be changing the color: I will have two menus - one containing [red, blue, yellow], the other [light, normal dark] and producing a plot of color light red, dark red, normal blue etc using a combination of the two menus.

Is there any way to store the information about the choice selected in one dropdown and use that information in another dropdown? Or any other way to achieve the same result.