# Is possible to change the color of the ROI bounding box from white to something else

**URL:** <https://discourse.slicer.org/t/is-possible-to-change-the-color-of-the-roi-bounding-box-from-white-to-something-else/10034>\
**Category:** Support\
**Created:** [January 30, 2020, 6:59pm UTC](https://discourse.slicer.org/t/is-possible-to-change-the-color-of-the-roi-bounding-box-from-white-to-something-else/10034 "2020-01-30T18:59:50Z")\
**Posts on this page:** 6\
**Page:** 1

<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:** [January 30, 2020, 6:59pm UTC](https://discourse.slicer.org/t/is-possible-to-change-the-color-of-the-roi-bounding-box-from-white-to-something-else/10034/1 "2020-01-30T18:59:50Z")

</div>

While there seems many settings under the **Modify Annotation Properties** none of them seem to change the ROI bounding box color from the default white. We have images that we are trying to crop and the background is white, making it hard to see where box is. Can this setting be modified?

---

<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:** [January 30, 2020, 7:49pm UTC](https://discourse.slicer.org/t/is-possible-to-change-the-color-of-the-roi-bounding-box-from-white-to-something-else/10034/2 "2020-01-30T19:49:12Z")

</div>

Probably it wouldn’t be too hard to propagate annotation line colors to the ROI representation, but we don’t plan to touch annotation ROIs but instead we will add a new markups ROI class instead.

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [January 30, 2020, 9:05pm UTC](https://discourse.slicer.org/t/is-possible-to-change-the-color-of-the-roi-bounding-box-from-white-to-something-else/10034/3 "2020-01-30T21:05:39Z")

</div>

@muratmaga if you are really desperate there’s probably a way to hack into it and change the color, but it wouldn’t be sustainable and probably not worth the effort. Might be easier to change the lookup table while cropping.

---

<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:** [January 30, 2020, 11:03pm UTC](https://discourse.slicer.org/t/is-possible-to-change-the-color-of-the-roi-bounding-box-from-white-to-something-else/10034/4 "2020-01-30T23:03:40Z")

</div>

Changing the W/L until lines are visible works.

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 8, 2020, 6:28am UTC](https://discourse.slicer.org/t/is-possible-to-change-the-color-of-the-roi-bounding-box-from-white-to-something-else/10034/5 "2020-02-08T06:28:04Z")

</div>

roiNode.SetLineColor([1,0,0]), but nothing happen…

---

<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:** [February 8, 2020, 5:46pm UTC](https://discourse.slicer.org/t/is-possible-to-change-the-color-of-the-roi-bounding-box-from-white-to-something-else/10034/6 "2020-02-08T17:46:20Z")

</div>

There is no API to change ROI node color and we don’t plan to add it but instead add ROI support to markups node and implement it there (see my comment [above](https://discourse.slicer.org/t/is-possible-to-change-the-color-of-the-roi-bounding-box-from-white-to-something-else/10034/2)).
