# "Colour mapping" - help needed to create RGB value

**URL:** <https://discourse.nodered.org/t/colour-mapping-help-needed-to-create-rgb-value/33364>\
**Category:** General\
**Created:** [26 September 2020 01:08 UTC](https://discourse.nodered.org/t/colour-mapping-help-needed-to-create-rgb-value/33364 "2020-09-26T01:08:19Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 September 2020 08:05 UTC](https://discourse.nodered.org/t/colour-mapping-help-needed-to-create-rgb-value/33364/6 "2020-09-26T08:05:23Z")

</div>

Andrew, have a look at [this post](https://discourse.nodered.org/t/how-to-generate-an-image-from-the-8x8-raw-heat-map-data-of-an-amg8833-thermal-sensor/31604/8). In the colourise function is some code you can adapt to generate a heat colour.

---

_[View the full topic](https://discourse.nodered.org/t/colour-mapping-help-needed-to-create-rgb-value/33364)._
