# How to set random colors to all segments inside a segmentation?

**URL:** https://discourse.slicer.org/t/how-to-set-random-colors-to-all-segments-inside-a-segmentation/28218
**Category:** Support
**Created:** [March 7, 2023, 2:27pm UTC](https://discourse.slicer.org/t/how-to-set-random-colors-to-all-segments-inside-a-segmentation/28218 "2023-03-07T14:27:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)
#### Post date: [March 7, 2023, 2:27pm UTC](https://discourse.slicer.org/t/how-to-set-random-colors-to-all-segments-inside-a-segmentation/28218/1 "2023-03-07T14:27:03Z")

</div>

I would like to make easy to differentiate the segments that are next to each other.

Thank you
