Why does my dcc.Dropdown background colour change, when I generate a plot or table in my Dashboard?

I think you are refering to the background of the dropdown options?

Have a read here:

and here: