I have the Fonske Marstek modbus TCP/IP running for my home batteries.
In top of the screen there are 2 badges which show the level of the batteries.
Red/Orange/green.
Is it possible to change the color red into purple and orange into yellow?
I believe it is possible to template that with 3rd party cards, but otherwise it is a theme thing I think.
(Not an expert, though, but your post was getting stale so I thought I would add my 2 cents)
I uses the mushroom theme/cards and cardmod integration from HACS. Please look at my code for the shower temp and try to implement for your icons. Or am I misunderstanding you, and you just want to swap the existing colours? What is the code of your badges? Normally you are able to change the colors, as you want.