fig = px.bar(df,
color=columnName,
color_discrete_map= {'Coal': 'black',
'Oil': 'grey',
'Gas': 'blue'}
)
import plotly.colors
plotly.colors.DEFAULT_PLOTLY_COLORS