# Set displayNode color to Inferno

**URL:** <https://discourse.slicer.org/t/set-displaynode-color-to-inferno/29434>\
**Category:** Support\
**Created:** [May 12, 2023, 9:17pm UTC](https://discourse.slicer.org/t/set-displaynode-color-to-inferno/29434 "2023-05-12T21:17:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![asyeda](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@asyeda](https://discourse.slicer.org/u/asyeda)\
**Post date:** [May 12, 2023, 9:17pm UTC](https://discourse.slicer.org/t/set-displaynode-color-to-inferno/29434/1 "2023-05-12T21:17:28Z")

</div>

I’m trying to use:

`displayNode.SetAndObserveColorNodeID(f'vtkMRMLColorTableNode{colorName}')`

which works for some of the lookup table colors, but it does not work for Inferno. How can I make this work, i.e. setting the color for the display node to Inferno? I’m new to Slicer module development so any guidance would be appreciated!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 13, 2023, 2:24am UTC](https://discourse.slicer.org/t/set-displaynode-color-to-inferno/29434/2 "2023-05-13T02:24:23Z")

</div>

You can see the color node IDs in Data module in the last tab. Enable display of hidden nodes and node IDs.

Or you can run this in the Python console:

```
print(getNode('*Inferno*').GetID())

```

---

<div class="post-metadata">

**Author:** ![asyeda](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@asyeda](https://discourse.slicer.org/u/asyeda)\
**Post date:** [May 15, 2023, 2:58am UTC](https://discourse.slicer.org/t/set-displaynode-color-to-inferno/29434/3 "2023-05-15T02:58:58Z")

</div>

Thank you, this really helped!
