Is there a way to control the colour palette used by HA to show sensor history for enums?

I have an enumeration sensor that can return Hot, Warm, Cold rather than numerical temperatures in degrees centigrade, etc. I attach an image of the sensor history. Is there a way of changing/controlling the colour map? As you can see from my image, Hot is currently blue and Cold is currently Orange, and both of those are backwards from what would be nice!

Aside: – when I set the system up, the default colours were the other way around (i.e. Hot was Orange and Cold was Blue) which was perfect for me. As a result I assumed that there was some remarkably good fuzzy logic deep within HA that was choosing clever defaults for me. However ~24 hours ago the colours inverted, so I’ve belatedly realised that the chosen colours were probably randomly allocated. Hence this question. I have tried to find posts with this question or answers to it – but I have not managed to find any.

FWIW, here is how the entity is set up, showing the three states:

Consider history explorer card where you can define colors for each value. The stock history graph card will not do it since you cannot define theme color variables for a “sensor” domain

I will take a look. Thanks for the suggestion.