# Segmentation node color and transparency through script

**URL:** <https://discourse.slicer.org/t/segmentation-node-color-and-transparency-through-script/18190>\
**Category:** Development\
**Tags:** segmentation\
**Created:** [June 17, 2021, 6:19pm UTC](https://discourse.slicer.org/t/segmentation-node-color-and-transparency-through-script/18190 "2021-06-17T18:19:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chintha\_Siva\_Prasad](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chintha_siva_prasad/32/7766_2.png) [@Chintha\_Siva\_Prasad](https://discourse.slicer.org/u/Chintha_Siva_Prasad)\
**Post date:** [June 17, 2021, 6:19pm UTC](https://discourse.slicer.org/t/segmentation-node-color-and-transparency-through-script/18190/1 "2021-06-17T18:19:33Z")

</div>

How to set segmentation node color and transparency through script ?

---

<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:** [June 18, 2021, 7:47pm UTC](https://discourse.slicer.org/t/segmentation-node-color-and-transparency-through-script/18190/2 "2021-06-18T19:47:45Z")

</div>

You can adjust display properties via the segmentation node’s display node. See examples in the [script repository](https://slicer.readthedocs.io/en/latest/developer_guide/script_repository.html#modify-segmentation-display-options).
