# How to remove this color bar from color wheel? (Controlp5)

**URL:** https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984
**Category:** Libraries
**Created:** [September 14, 2019, 5:25am UTC](https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984 "2019-09-14T05:25:11Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Leonhard](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Leonhard](https://discourse.processing.org/u/Leonhard)
#### Post date: [September 14, 2019, 5:25am UTC](https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984/1 "2019-09-14T05:25:11Z")

</div>

Remove the rectangle displaying the color underneath the color wheel. Anyone know how to do this?

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/5/506c1f7b17b2a94f3d5c5cc5652ff2fcc307ba63.png)

Thanks

---

<div class="post-metadata">

### Author: ![TfGuy44](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tfguy44/32/41_2.png) [@TfGuy44](https://discourse.processing.org/u/TfGuy44)
#### Post date: [September 14, 2019, 8:19am UTC](https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984/2 "2019-09-14T08:19:41Z")

</div>

Stop drawing it?

Draw over it?

Without seeing the code that drew it, we are at a complete loss.

---

<div class="post-metadata">

### Author: ![Leonhard](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@Leonhard](https://discourse.processing.org/u/Leonhard)
#### Post date: [September 14, 2019, 12:45pm UTC](https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984/3 "2019-09-14T12:45:39Z")

</div>

Hi, jus have it

 ![image](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/5/5f817eae02329fc4516ba1cd8126c744188030a7.png)

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [September 14, 2019, 10:46pm UTC](https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984/4 "2019-09-14T22:46:56Z")

</div>

Looks like that is hard-coded into the ColorWheel view.

> <https://github.com/sojamo/controlp5/blob/1f7cb649865eb8657495b5cfeddd0dbe85d70cac/src/controlP5/ColorWheel.java#L338-L340>

You could fork the library, or you could try to draw on top of it as suggested above – or you could create your own separate render method for it and call that instead (set it not visible, then pass it to your custom render method).

---

<div class="post-metadata">

### Author: ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)
#### Post date: [September 15, 2019, 2:43am UTC](https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984/5 "2019-09-15T02:43:15Z")

</div>

> [@jeremydouglass](#):
>
> or you could try to draw on top of it as suggested above

tried that already, with a

- rect from draw
- a CP5 textfield and textlabel

did all loose against the “focused” colorwheel

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [September 15, 2019, 4:16pm UTC](https://discourse.processing.org/t/how-to-remove-this-color-bar-from-color-wheel-controlp5/13984/6 "2019-09-15T16:16:33Z")

</div>

An example of how to customize your own controller copied from the ColorWheel code (e.g. ColorWheel2) is in this cp5 example:

> Controlp5ExtendController

Unfortunately you cannot simply override the existing display method because it is in a private inner class.
