Dashboard slider color

Hi trying to set slider color to gray and green dynamically. How is it done?

The slider color is set via the Dashboard Theme (right hand side). Look down the list to the "widget color", that's what it'll become. I'm not aware of any way to change the slider dynamically (via code).

Sorry for not replying for so long and thanks for the response! Yes, I know that in general you can change the slider color from the themes. But my wish would have been that it could be changed dynamicly or atleast specifically for one specific slider, like in buttons. BR, Samu