Change color of panel based on decimal value


i have a rest api which sends me data including a color in decimal format e.g. “3093151”. Is there anyway to change the color of the panel based on this value? kind of a dynamic color mapping?

value mapping sounds like the answer here. Have you checked it out?