# Can we change handle and trail colors for paint widget?

**URL:** https://discourse.vtk.org/t/can-we-change-handle-and-trail-colors-for-paint-widget/13573
**Category:** vtk.js
**Created:** [March 18, 2024, 7:30pm UTC](https://discourse.vtk.org/t/can-we-change-handle-and-trail-colors-for-paint-widget/13573 "2024-03-18T19:30:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![burak94t](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/a87d85/32.png) [@burak94t](https://discourse.vtk.org/u/burak94t)
#### Post date: [March 18, 2024, 7:30pm UTC](https://discourse.vtk.org/t/can-we-change-handle-and-trail-colors-for-paint-widget/13573/1 "2024-03-18T19:30:31Z")

</div>

I did take look at the docs and examples, but I can’t find anything about it. The circle is always blue and trails are green, also when I set to active label to 0, handle is not visible.

Is there anyway to make the paint widget’s handle visible while label is zero? And can we change the colors of the handle?

Thanks a lot!

---

<div class="post-metadata">

### Author: ![finetjul](https://discourse.vtk.org/user_avatar/discourse.vtk.org/finetjul/32/154_2.png) [@finetjul](https://discourse.vtk.org/u/finetjul)
#### Post date: [March 18, 2024, 8:46pm UTC](https://discourse.vtk.org/t/can-we-change-handle-and-trail-colors-for-paint-widget/13573/2 "2024-03-18T20:46:03Z")

</div>

Blue color corresponds to `activeColor: 1` in `WidgetRepresentation` (1 is blue in default LUT).  
Green color corresponds to `color: 0.5` in `colorMixin.js` (0.5 is green in default LUT).

I’m not sure to understand the rest of your questions.

Hth,  
Julien.

---

<div class="post-metadata">

### Author: ![burak94t](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/a87d85/32.png) [@burak94t](https://discourse.vtk.org/u/burak94t)
#### Post date: [March 18, 2024, 8:47pm UTC](https://discourse.vtk.org/t/can-we-change-handle-and-trail-colors-for-paint-widget/13573/3 "2024-03-18T20:47:58Z")

</div>

Thank you, I was trying to use paintwidget to erase but the handle was not visible, I fixed it by creating an other paintwidget.
