This file defines/lists the named colours as seen in a default Tinderbox file. It appears colour values may be defined using any of the supported colour declaration methods: (HTML) name, RGB, hex, HSV. Most of the defaults use hex format declarations. The 'screen' name given to the file is for UI use so, 'red' could be defined as a green!
Note: if using the Colors Inspector, then the existing value is reported as, and should be altered using, only a hexadecimal value.
The (inclusion of and) order of colours seen in UI listings is in bit-wise alphabetical order, i.e. all initial uppercase words come first (i.e. 'Yellow' sorts before 'blue'). This is regardless of the order as defined in XML. But if coding such a custom file by hand, it makes common sense to list the colours in the order they will sort in the UI.
The application should be re-started after editing these files to ensure changes are detected. At minimum, the document(s) needing to show the change should be re-opened, should an app re-start be inconvenient at that time.
The source (app internal) copy of colors.xml defines these colours:
<colors version="1">
<color name="normal" />
<color name="black" color="#000000"/>
<color name="white" color="#FFFFFF"/>
<color name="poppy" color="hsv(40,60,100)"/>
<color name="blue" color="#003366"/>
<color name="bright blue" color="#0000FF"/>
<color name="cyan" color="#006666"/>
<color name="green" color="#009900"/>
<color name="bright green" color="#00FF00"/>
<color name="magenta" color="#660066"/>
<color name="red" color="#990000"/>
<color name="bright red" color="#FF0000"/>
<color name="orange" color="#FF8800"/>
<color name="yellow" color="#CCCC00"/>
<color name="violet" color="#330099"/>
<color name="warm gray" color="#807060"/>
<color name="warm gray dark" color="#605850"/>
<color name="cool gray" color="#607080"/>
<color name="cool gray dark" color="#505860"/>
<color name="0" color="hsv(30, 2, 48)"/>
<color name="1" color="hsv(30, 2, 63)"/>
<color name="2" color="hsv(30, 2, 72)"/>
<color name="3" color="hsv(30, 2, 78)"/>
<color name="4" color="hsv(30, 2, 83)"/>
<color name="5" color="hsv(30, 2, 87)"/>
<color name="6" color="hsv(30, 2, 90)"/>
<color name="7" color="hsv(30, 2, 93)"/>
<color name="8" color="hsv(30, 2, 95.6)"/>
<color name="9" color="hsv(30, 2, 98)"/>
</colors>
Notes:
- the named colour 'gray' appears to have never been added to this core listing. This is like due to the fact that the default-applied colour scheme for ucrrent new TBXs ('Modern') define this named colour, so adding it to the basic set of named colours.
- colour 'poppy' and those named '0' through '9' are defined using the hsv() operator. Poppy appears to have been added to the named colors after inital release, possibly c. v2.1.0.
- colours 'violet' and those named '0' through '9' were added in v6.0.0.
- although the Tinderbox UI uses lowercase letters in hexadecimal code value, the codes are case-insensitive and this older data uses uppercase letters in colour values.
See also—notes linking to here: