Yup! you can customize the backgroundcolor, text color, and border color.
ref: https://plot.ly/python/reference/#layout-hoverlabel-bgcolor
In the layout, it would looks something like this:
layout = [
hoverlabel = dict(
bgcolor = ['red','#00FF00','rgb(252,141,89)'] #whatever format you want
)
]