# G4P - Setting custom colors for knob?

**URL:** <https://discourse.processing.org/t/g4p-setting-custom-colors-for-knob/44666>\
**Category:** Libraries\
**Created:** [June 30, 2024, 8:48pm UTC](https://discourse.processing.org/t/g4p-setting-custom-colors-for-knob/44666 "2024-06-30T20:48:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shlain](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/shlain/32/19728_2.png) [@shlain](https://discourse.processing.org/u/shlain)\
**Post date:** [June 30, 2024, 8:48pm UTC](https://discourse.processing.org/t/g4p-setting-custom-colors-for-knob/44666/1 "2024-06-30T20:48:55Z")

</div>

Hey folks, I have a quick question I couldn’t solve about G4P library.  
I am using GKnob, and have succeeded to change its colors using the pre-added color schemes:

```auto
knob.setLocalColorScheme(4);

```

But in order to align with my design system, I am looking for a way to set each color of the scheme separately, or adding a new local scheme.

Is this possible? Or is there any alternative way to solve this issue?

Thank you!

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [July 1, 2024, 12:40pm UTC](https://discourse.processing.org/t/g4p-setting-custom-colors-for-knob/44666/2 "2024-07-01T12:40:09Z")

</div>

Hi shlain, welcome to the forum.

It is possible to do what you want, I recommend that you look at the [G4P guides](http://www.lagers.org.uk/g4p/guides/g01-introduction.html) on my website. There are 2 guides related to colour schemes.
