# Is there a document which lists all textColourID, backgroundColourID’s etc?

**URL:** <https://forum.juce.com/t/is-there-a-document-which-lists-all-textcolourid-backgroundcolourid-s-etc/14738>\
**Category:** General JUCE discussion\
**Created:** [May 6, 2015, 4:07pm UTC](https://forum.juce.com/t/is-there-a-document-which-lists-all-textcolourid-backgroundcolourid-s-etc/14738 "2015-05-06T16:07:42Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nonchai](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/nonchai/32/1507_2.png) [@nonchai](https://forum.juce.com/u/nonchai)\
**Post date:** [May 6, 2015, 4:07pm UTC](https://forum.juce.com/t/is-there-a-document-which-lists-all-textcolourid-backgroundcolourid-s-etc/14738/1 "2015-05-06T16:07:42Z")

</div>

I need to create some new&nbsp;textColourID's for new classes - in connection with my custom LookAndFeel object.&nbsp;

Currently is seems these ids are shown only in the enum declaration for each of the class they are for. Which is a pain if one needs to look at EVERY ColourID &nbsp;used for every widget class.&nbsp;

Naturally I dont want any duplicates of Colourid's when using&nbsp;LookAndFeel.setColour() &nbsp;so is there a page or list somewhere where these ids for ALL objects, buttons, labels etc &nbsp;are &nbsp;shown so i can avoid clashes ?&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![nonchai](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/nonchai/32/1507_2.png) [@nonchai](https://forum.juce.com/u/nonchai)\
**Post date:** [May 6, 2015, 5:17pm UTC](https://forum.juce.com/t/is-there-a-document-which-lists-all-textcolourid-backgroundcolourid-s-etc/14738/2 "2015-05-06T17:17:31Z")

</div>

in the absence of a reply have begun collationg one myself

&nbsp;

so here it is so far:&nbsp;

&nbsp;

listboxDS  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp;= 0x1002800&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; = 0x1002810&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1002820  
&nbsp;  
EditableTextListBoxComponent  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; = 0x1000280&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000281&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000282&nbsp;  
WindowBase  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= &nbsp; 0x1000000  
Alertwindow  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1001800&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1001810&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001820 &nbsp;  
BubbleComponent  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000af0&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000af1 &nbsp;  
CaretComponent  
&nbsp; &nbsp; &nbsp; &nbsp; caretColourId &nbsp; &nbsp;= 0x1000204&nbsp;  
CodeEditorComponent  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1004500 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; highlightColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004502 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; defaultTextColourId &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004503 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; lineNumberBackgroundId &nbsp; &nbsp; &nbsp;= 0x1004504 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; lineNumberTextId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1004505 &nbsp;  
ColourSelector  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1007000 &nbsp;&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; labelTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1007001 &nbsp;  
Combobox  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp;= 0x1000b00 &nbsp; &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000a00 &nbsp;&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; = 0x1000c00 &nbsp;&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; buttonColourId &nbsp; &nbsp; &nbsp;= 0x1000d00 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; arrowColourId &nbsp; &nbsp; &nbsp; = 0x1000e00&nbsp;  
DirectoryContentsDisplay  
&nbsp; &nbsp; &nbsp; &nbsp; highlightColourId &nbsp; &nbsp; &nbsp;= 0x1000540&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000541&nbsp;  
DocumentWindow  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005701 &nbsp;  
DrawableButton  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004010&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourOnId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004013 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; = 0x1004011 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundOnColourId &nbsp; &nbsp; = 0x1004012 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  
FileChooserDialogBox  
&nbsp; &nbsp; &nbsp; &nbsp; titleTextColourId &nbsp; &nbsp; &nbsp;= 0x1000850&nbsp;  
FileSearchPath  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp;= 0x1004100&nbsp;  
GroupComponent  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; = 0x1005400 &nbsp; &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp;= 0x1005410 &nbsp; &nbsp;  
HyperlinkButton  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001f00&nbsp;  
KeyMappingEditorComponent  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp;= 0x100ad00 &nbsp; &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp;= 0x100ad01 &nbsp; &nbsp;  
Label  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; = 0x1000280&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000281&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000282 &nbsp;  
LassoComponent  
&nbsp; &nbsp; &nbsp; &nbsp; lassoFillColourId &nbsp; &nbsp; &nbsp; = 0x1000440&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; lassoOutlineColourId &nbsp; &nbsp;= 0x1000441&nbsp;  
ListBox  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp;= 0x1002800&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; = 0x1002810&nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1002820 &nbsp;  
PopupMenu  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000700 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000600 &nbsp;  
&nbsp; &nbsp; &nbsp; &nbsp; headerTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000601 &nbsp;/\*\*\< The colour for section header item text (see the  
&nbsp; &nbsp; &nbsp; &nbsp; highlightedBackgroundColourId &nbsp;= 0x1000900 &nbsp;/\*\*\< The colour to fill the background of the currently  
&nbsp; &nbsp; &nbsp; &nbsp; highlightedTextColourId &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000800 &nbsp;/\*\*\< The colour to use for the text of the currently  
ProgressBar  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1001900 &nbsp; &nbsp;/\*\*\< The background colour behind the bar. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; foregroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1001a00 &nbsp; &nbsp;/\*\*\< The colour to use to draw the bar itself. LookAndFeel  
Resizablewindow  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1005700 &nbsp;/\*\*\< A colour to use to fill the window's background. \*/  
Scrollbar  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000300 &nbsp; &nbsp;/\*\*\< The background colour of the scrollbar. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; thumbColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000400 &nbsp; &nbsp;/\*\*\< A base colour to use for the thumb. The look and feel will probably use variations on this colour. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; trackColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000401 &nbsp; &nbsp; /\*\*\< A base colour to use for the slot area of the bar. The look and feel will probably use variations on this colour. \*/  
Slider  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1001200 &nbsp;/\*\*\< A colour to use to fill the slider's background. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; thumbColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001300 &nbsp;/\*\*\< The colour to draw the thumb with. It's up to the look  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;and feel class how this is used. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; trackColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001310 &nbsp;/\*\*\< The colour to draw the groove that the thumb moves along. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; rotarySliderFillColourId &nbsp; &nbsp;= 0x1001311 &nbsp;/\*\*\< For rotary sliders this colour fills the outer curve. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; rotarySliderOutlineColourId = 0x1001312 &nbsp;/\*\*\< For rotary sliders this colour is used to draw the outer curve's outline. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; textBoxTextColourId &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001400 &nbsp;/\*\*\< The colour for the text in the text-editor box used for editing the value. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; textBoxBackgroundColourId &nbsp; = 0x1001500 &nbsp;/\*\*\< The background colour for the text-editor box. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; textBoxHighlightColourId &nbsp; &nbsp;= 0x1001600 &nbsp;/\*\*\< The text highlight colour for the text-editor box. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; textBoxOutlineColourId &nbsp; &nbsp; &nbsp;= 0x1001700 &nbsp; /\*\*\< The colour to use for a border around the text-editor box. \*/  
TabbedButtonBar  
&nbsp; &nbsp; &nbsp; &nbsp; tabOutlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1005812 &nbsp; &nbsp;/\*\*\< The colour to use to draw an outline around the tabs. &nbsp;\*/  
&nbsp; &nbsp; &nbsp; &nbsp; tabTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005813 &nbsp; &nbsp;/\*\*\< The colour to use to draw the tab names. If this isn't specified  
&nbsp; &nbsp; &nbsp; &nbsp; frontOutlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1005814 &nbsp; &nbsp;/\*\*\< The colour to use to draw an outline around the currently-selected tab. &nbsp;\*/  
&nbsp; &nbsp; &nbsp; &nbsp; frontTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005815 &nbsp; &nbsp;/\*\*\< The colour to use to draw the currently-selected tab name. If  
TabbedComponent  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1005800 &nbsp; &nbsp;/\*\*\< The colour to fill the background behind the tabs. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005801 &nbsp; &nbsp;/\*\*\< The colour to use to draw an outline around the content.  
TextButton  
&nbsp; &nbsp; &nbsp; &nbsp; buttonColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000100 &nbsp;/\*\*\< The colour used to fill the button shape (when the button is toggled  
&nbsp; &nbsp; &nbsp; &nbsp; buttonOnColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000101 &nbsp;/\*\*\< The colour used to fill the button shape (when the button is toggled  
&nbsp; &nbsp; &nbsp; &nbsp; textColourOffId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000102 &nbsp;/\*\*\< The colour to use for the button's text when the button's toggle state is "off". \*/  
&nbsp; &nbsp; &nbsp; &nbsp; textColourOnId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000103 &nbsp; /\*\*\< The colour to use for the button's text.when the button's toggle state is "on". \*/  
TextEditor  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; = 0x1000200 /\*\*\< The colour to use for the text component's background - this can be  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000201 /\*\*\< The colour that will be used when text is added to the editor. Note  
&nbsp; &nbsp; &nbsp; &nbsp; highlightColourId &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000202 /\*\*\< The colour with which to fill the background of highlighted sections of  
&nbsp; &nbsp; &nbsp; &nbsp; highlightedTextColourId &nbsp;= 0x1000203 /\*\*\< The colour with which to draw the text in highlighted sections. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000205 /\*\*\< If this is non-transparent it will be used to draw a box around  
&nbsp; &nbsp; &nbsp; &nbsp; focusedOutlineColourId &nbsp; = 0x1000206 /\*\*\< If this is non-transparent it will be used to draw a box around  
&nbsp; &nbsp; &nbsp; &nbsp; shadowColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000207 /\*\*\< If this is non-transparent it'll be used to draw an inner shadow  
TextPropertyComponent  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x100e401 &nbsp; &nbsp;/\*\*\< The colour to fill the background of the text area. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x100e402 &nbsp; &nbsp;/\*\*\< The colour to use for the editable text. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x100e403 &nbsp; &nbsp;/\*\*\< The colour to use to draw an outline around the text area. \*/  
ToggleButton  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1006501 &nbsp; /\*\*\< The colour to use for the button's text. \*/  
Toolbar  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1003200 &nbsp;/\*\*\< A colour to use to fill the toolbar's background. For  
&nbsp; &nbsp; &nbsp; &nbsp; separatorColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1003210 &nbsp;/\*\*\< A colour to use to draw the separator lines. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; buttonMouseOverBackgroundColourId = 0x1003220 &nbsp;/\*\*\< A colour used to paint the background of buttons when the mouse is  
&nbsp; &nbsp; &nbsp; &nbsp; buttonMouseDownBackgroundColourId = 0x1003230 &nbsp;/\*\*\< A colour used to paint the background of buttons when the mouse is  
&nbsp; &nbsp; &nbsp; &nbsp; labelTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1003240 &nbsp; &nbsp; &nbsp; &nbsp;/\*\*\< A colour to use for drawing the text under buttons  
&nbsp; &nbsp; &nbsp; &nbsp; editingModeOutlineColourId &nbsp;= 0x1003250 &nbsp; /\*\*\< A colour to use for an outline around buttons when  
Tooltipwindow  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp;= 0x1001b00 &nbsp; &nbsp;/\*\*\< The colour to fill the background with. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; textColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1001c00 &nbsp; &nbsp;/\*\*\< The colour to use for the text. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001c10 &nbsp; &nbsp; /\*\*\< The colour to use to draw an outline around the tooltip. \*/  
Treeview  
&nbsp; &nbsp; &nbsp; &nbsp; backgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000500 /\*\*\< A background colour to fill the component with. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; linesColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;= 0x1000501 /\*\*\< The colour to draw the lines with.\*/  
&nbsp; &nbsp; &nbsp; &nbsp; dragAndDropIndicatorColourId &nbsp; = 0x1000502 /\*\*\< The colour to use for the drag-and-drop target position indicator. \*/  
&nbsp; &nbsp; &nbsp; &nbsp; selectedItemBackgroundColourId = 0x1000503 &nbsp;/\*\*\< The colour to use to fill the background of any selected items. \*/

---

<div class="post-metadata">

**Author:** ![nonchai](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/nonchai/32/1507_2.png) [@nonchai](https://forum.juce.com/u/nonchai)\
**Post date:** [May 8, 2015, 6:12pm UTC](https://forum.juce.com/t/is-there-a-document-which-lists-all-textcolourid-backgroundcolourid-s-etc/14738/3 "2015-05-08T18:12:15Z")

</div>

/\*

&nbsp; ==============================================================================

&nbsp; &nbsp; LooKAndFeelColourConstants FOR XOJO

&nbsp; ==============================================================================

\*/

&nbsp;

//--- WindowBase

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000000

&nbsp;

//--- TextButton

buttonColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000100

buttonOnColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000101

textColourOffId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000102

textColourOnId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000103

&nbsp;

//--- TextEditor

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000200

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000201

highlightColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000202

highlightedTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000203

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000205

focusedOutlineColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000206

shadowColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000207

&nbsp;

//--- Scrollbar

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000300

thumbColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000400

trackColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000401

&nbsp;

//--- LassoComponent

lassoFillColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000440

lassoOutlineColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000441

&nbsp;

//--- Treeview

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000500

linesColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000501

dragAndDropIndicatorColourId&nbsp; &nbsp; &nbsp; &nbsp; = 0x1000502

selectedItemBackgroundColourId&nbsp; &nbsp; &nbsp; = 0x1000503

&nbsp;

//--- DirectoryContentsDisplay

highlightColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000540

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000541

&nbsp;

//--- PopupMenu

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000600

headerTextColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000601

&nbsp;

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000700

highlightedTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000800

highlightedBackgroundColourId &nbsp; &nbsp; &nbsp; = 0x1000900

&nbsp;

//--- FileChooserDialogBox

titleTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000850

&nbsp;

//--- Label

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000280

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000281

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000282

&nbsp;

//--- EditableTextListBoxComponent

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000290

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000291

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000292

&nbsp;

//--- BubbleComponent

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000af0

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000af1

&nbsp;

//--- CaretComponent

caretColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000204

&nbsp;

//--- Combobox

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000b00

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000a00

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000c00

buttonColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000d00

arrowColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1000e00

&nbsp;

//--- Slider

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001200

thumbColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001300

trackColourid &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001310

&nbsp;

// RotarySlider

rotarySliderFillColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001311

rotarySliderOutlineColourId &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001312

&nbsp;

&nbsp;

//--- Resizablewindow

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005700

&nbsp;

textBoxTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001400

textBoxBackgroundColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001500

textBoxHighlightColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001600

textBoxOutlineColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001700

&nbsp;

//--- Alertwindow

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001800

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001810

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001820

&nbsp;

//--- ProgressBar

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001900

foregroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001a00

&nbsp;

//--- Tooltipwindow

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001b00

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001c00

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001c10

&nbsp;

//--- HyperlinkButton

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1001f00

&nbsp;

//--- listboxDS

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1002800

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1002810

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1002820

&nbsp;

//--- ListBox

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1002800

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1002810

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1002820

&nbsp;

//--- Toolbar

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1003200

separatorColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1003210

buttonMouseOverBackgroundColourId &nbsp; = 0x1003220

buttonMouseDownBackgroundColourId &nbsp; = 0x1003230

labelTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1003240

editingModeOutlineColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1003250

&nbsp;

//--- DrawableButton

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004010

textColourOnId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004013

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004011

backgroundOnColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004012

&nbsp;

//--- FileSearchPath

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004100

&nbsp;

//--- CodeEditorComponent

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004500

highlightColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004502

defaultTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004503

lineNumberBackgroundId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004504

lineNumberTextId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1004505

&nbsp;

//--- GroupComponent

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005400

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005410

&nbsp;

//--- DocumentWindow

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005701

&nbsp;

//--- TabbedComponent

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005800

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005801

&nbsp;

//--- TabbedButtonBar

tabOutlineColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005812

tabTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005813

frontOutlineColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005814

frontTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1005815

&nbsp;

//--- ToggleButton

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1006501

&nbsp;

//--- ColourSelector

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1007000

labelTextColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x1007001

&nbsp;

//--- KeyMappingEditorComponent

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x100ad00

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x100ad01

&nbsp;

&nbsp;

//--- TextPropertyComponent

backgroundColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x100e401

textColourId&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x100e402

outlineColourId &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; = 0x100e403

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![jules](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@jules](https://forum.juce.com/u/jules)\
**Post date:** [May 9, 2015, 8:28am UTC](https://forum.juce.com/t/is-there-a-document-which-lists-all-textcolourid-backgroundcolourid-s-etc/14738/4 "2015-05-09T08:28:42Z")

</div>

What I do when picking a value is to guess at a number that seems OK and then grep the codebase for that number&nbsp;to make sure it isn't already used. (Can't really see how having a separate list would help!)

---

<div class="post-metadata">

**Author:** ![nonchai](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/nonchai/32/1507_2.png) [@nonchai](https://forum.juce.com/u/nonchai)\
**Post date:** [May 9, 2015, 7:00pm UTC](https://forum.juce.com/t/is-there-a-document-which-lists-all-textcolourid-backgroundcolourid-s-etc/14738/5 "2015-05-09T19:00:14Z")

</div>

yep - makes sense.&nbsp;&nbsp;

Although I didnt' know until i did all this whether there was some kind of numbering convention you had adopted that i ought to be adhering to.&nbsp;
