Set the badge to simply show the color of a light rather than on or off?

For the dashboard badges I was wondering if I can change the value from a simple on or off to the current color of the light?

image