# String identifiers for colour ids

**URL:** <https://forum.juce.com/t/string-identifiers-for-colour-ids/39677>\
**Category:** Feature Requests\
**Created:** [May 26, 2020, 10:24am UTC](https://forum.juce.com/t/string-identifiers-for-colour-ids/39677 "2020-05-26T10:24:40Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![otristan](https://avatars.discourse-cdn.com/v4/letter/o/f0a364/32.png) [@otristan](https://forum.juce.com/u/otristan)\
**Post date:** [May 26, 2020, 11:53am UTC](https://forum.juce.com/t/string-identifiers-for-colour-ids/39677/5 "2020-05-26T11:53:18Z")

</div>

same request here.  
Merging to yours

> [@Handle custom colourId for custom widget](https://forum.juce.com/t/handle-custom-colourid-for-custom-widget/39262):
>
> Hi, Would be great if there was a solution to handle custom colourId for custom widgets. Right now I do it manually enum ColourIds { backgroundColourId = UviLookAndFeel::MultiSliderOffset, sliderColourId, textValueBackgroundColourId, textValueColourId }; but this is quite error prone. Don’t have an out of the box solution to this issue but would like to open the discussion regarding this. Thanks !

---

_[View the full topic](https://forum.juce.com/t/string-identifiers-for-colour-ids/39677)._
