Colouring By Column Name

Hello all,

I am trying to colour my data by the column name they correspond to and I was wondering if that is possible with a time series graph? I have a line and bar graph in the same panel. The line is a success rate of the bars so the sections in the bar correspond to the line. So I want them to be the same colour so it is easier to see the corresponding bar and line pair.

I’ve looked at the color scheme but that changes their colour based on the values in the rows of the query which are not the same given one result is a number and the other a percentage.
Are there any features I could use to regex the name and colour these appropriately?