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!

Hover text formatting -- background color, text color, text font

I am using scatter 3d plot with custom hovertext and hoverinfo is set to text+name which displays it correctly but unfortunately it will display a specific color as background for this info element and variable text color which seems to be dynamic
is it possible to customize this info object ?
I would like to set a fixed bg color for this and also text color so that the hover info is visible always

You can try something like https://codepen.io/etpinard/pen/ZyQxpR?editors=0010