How can I change the graph labels color in the xaxis and yaxis and not the axis numbers

let’s say I want to change the graph
Xaxis label β†’ blue
Yaxis label β†’ red
Xaxis numbers color β†’ pink
Yaxis numbers color β†’ grey
How can I do that?

if i use
fig.update_layout or update_xaxes/yaxes
With color = β€œred”
both the labels and numbers change color.