Has there been a change in how to get the color of a trace?

Hi there,

The color of a trace use to be saved in fig.data[x].line.color as a hex-code (e.g. #636EFA). In the latest version of plotly, all I get for fig.data[x].line.color is #00000x-1. So if I have a graph with 3 lines and list all the entries in line.color, I get the following list:

['#000001', '#000002', '#000003']

Also, when I look at the colors in the template of the graph like this fig..layout.template.layout.colorway, all I get is:

('#000001', '#000002', '#000003', '#000004', '#000005', '#000006', '#000007', '#000008', '#000009', '#000010')

Strangely, the colors look fine in the graph, but I can’t seem to access them.

Any ideas?