# Label Color Changed after saving

**URL:** https://discourse.slicer.org/t/label-color-changed-after-saving/33070
**Category:** Support
**Tags:** segmentation
**Created:** [November 27, 2023, 6:56pm UTC](https://discourse.slicer.org/t/label-color-changed-after-saving/33070 "2023-11-27T18:56:11Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)
#### Post date: [November 28, 2023, 3:43pm UTC](https://discourse.slicer.org/t/label-color-changed-after-saving/33070/7 "2023-11-28T15:43:29Z")

</div>

If you need to export your label with assigning specific indices, then you need to create a color table and specify that. Specifically you need to use this section of the `Segmentations` module:

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/e/7e881e9de15343c683363747e9b9d0cbb816159d.png)

Also see this [Segmentations — 3D Slicer documentation](https://slicer.readthedocs.io/en/latest/user_guide/modules/segmentations.html#export-segmentation-to-labelmap-volume-file)

**The label value is index of the color table entry that has the same name as the segment name.**

---

_[View the full topic](https://discourse.slicer.org/t/label-color-changed-after-saving/33070)._
