Change border color of hoverinfo based on value

Hi,
is there an easy way, to change the color of the hoverinfo border to match the marker color, which is based on the y-value?
I thought about extracting the color of each marker and add it to a list, which I then use for the bordcolor argument. I didn’t find a way to do this though.

Have a good day!
Julian

Bildschirmfoto 2020-04-29 um 11.35.37