Gauge widget color

Custom colors does not work in gauge widget.
Here is my gauge widget settings:

gauge_indoor_noise:
widget_type: gauge
title: Noise
units: “dB”
min: 0
max: 50
low_color: green
med_color: yellow
high_color: red
entity: sensor.netatmo_indoor_noise

and I get this:
image

If I remove color definitions I get this:
image

So why my color definitions not work?

Try using html colors, e.g. #aabbcc

2 Likes

Thank you!
This is working now.

gauge_indoor_noise:
widget_type: gauge
title: Noise
units: “dB”
min: 30
max: 100
low_color: 4CFF00
med_color: FFD800
high_color: FF0000
entity: sensor.netatmo_indoor_noise

image

1 Like

When I create a gauge widget on the normal dashboard everything shows as expected. However when I use a custom skin all I can see is the bar and title. The measurement and min/max values are not there. Does anyone know the attribute I need to add to see them?