Stat panel feature

Is there a way to merge 2 colors in stat panel . Here is the scenario. Full green panel , some warning alerts , panel color will change to 95% green 5% yellow. Image attached , please check and let me know the possibilities.

Sorry @ramees

But I don’t believe there is a way to use returned query values to calculate a color-gradient in the stat panel.

But I bet there is a way to do something close to this. It would really depend on the datasource and how you are calculating “some warning alerts”