WTH set colours for states in history card

It would be nice to set colours for states in the history and graph display on lovelace, this way it looks uniform and is easier to see.

I’ve had times when it’s got value x colour now, but in 3 hours time when I’ve looked again it’s y colour, then I’ve misread it.

Would be nice to be able to set colour if value = x