# Temperature into a color

**URL:** <https://discourse.nodered.org/t/temperature-into-a-color/81810>\
**Category:** General\
**Created:** [5 October 2023 18:10 UTC](https://discourse.nodered.org/t/temperature-into-a-color/81810 "2023-10-05T18:10:07Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [5 October 2023 18:41 UTC](https://discourse.nodered.org/t/temperature-into-a-color/81810/4 "2023-10-05T18:41:45Z")

</div>

There is an example at [https://discourse.nodered.org/t/warp-speed-indicator-changing-background-colour-according-to-payload-value-css-only/57256](https://discourse.nodered.org/t/warp-speed-indicator-changing-background-colour-according-to-payload-value-css-only/57256) showing one way to change the background of a dashboard template according to the input payload.

It's not very straightforward, surely it could be done more easily!

---

_[View the full topic](https://discourse.nodered.org/t/temperature-into-a-color/81810)._
