Docs Interface

ColorUI

Operator and family colour palettes, with the active palette roaming through config.

▦ Interface Console tab Hub tab

Why use it

Every colour in TouchDesigner's interface is a named entry in its UI colour table, the operator family colours included. You might want the families easier to tell apart at a glance (POPs especially), or the whole interface darker for a dim venue. Changing those by hand means finding the right entries by name and setting them one by one from Python.

ColorUI is an editor for that table. Every element is listed with its colour and its default, grouped and searchable, with the operator families on their own row. Change one colour, a group or everything you have filtered; your colours are applied again when the project opens and follow you to your other projects.

Features

  • Recolour UI elementsEvery colour in TouchDesigner's interface in one list, each with its default and a reset.
  • Operator family coloursRecolour whole operator families, POPs included.
  • Save and reapply your coloursYour colours are stored in the component, applied as the project opens, and follow you to other projects and through updates.
  • Filter the listNarrow the list by name with wildcards, to changed colours only, or to colours close to a reference colour.
  • Change many at onceGive one colour to everything listed, or to a whole group, and reset a group in one go.
  • Randomize and undoThrow random colours at the whole interface, then put your own colours back with one click.
  • Share your colours as JSONExport writes only the colours you changed to a JSON file, to keep with a project, commit or send to someone.
  • Import a JSON paletteImport applies such a file; its colours take precedence over the ones stored locally, and elements this build does not know are skipped.
  • Open from Hub or quick-launchThe colour editor opens from the OpColor tab of Hub (the FNS button in the main-menu bar), Open color UI in quick-launch, or Open UI on the component.
  • Console tab in the browserWith Expose to Console on, the same editor is served in the browser as the ColorUI tab of Console, the toolkit's web front.

How to use it

  1. Open it from the OpColor tab of Hub (the FNS button in the main-menu bar), with Open color UI in quick-launch, or with Open UI on the component. When Console serves it, these open the console's ColorUI tab in your browser; see In the console.
  2. The Families row at the top holds the operator family colours: COMP, TOP, CHOP, SOP, DAT, MAT, POP and CUSTOM. Click one to pick its colour.
  3. Below it, every other element of the interface, in groups. Click a row to pick its colour. Each row also shows the default colour and a reset button.
  4. Changes apply as you make them and are stored in the component. Only colours that differ from TouchDesigner's default are kept, so setting one back to its default simply drops it.

With Auto-Load Colors on, the stored colours are applied every time a project opens. They are also saved with your toolkit settings through ConfigRegistry, so they follow you to other projects and survive toolkit updates.

Finding what to change

The list is long, and the tools at the top are there to cut it down:

  • The filter field matches element names. Several words must all match, and * is a wildcard.
  • changed only lists the colours you have changed.
  • near lists the elements whose colour is close to a reference colour, closest first. Click the swatch beside it to pick the reference, and set how close in the number field.
  • group by sorts the list by the start of each element's name (prefix) or by what the element is used for (role). expand all and collapse all open and close every group.

Once the list shows what you want, change it all at once. Set shown… gives one colour to every element listed. Each group header has its own set… for that group, and a reset that puts the group's changed colours back to default after a second click to confirm.

For example, to lift every element that uses one particular dark grey: switch on near, pick that grey as the reference, check the list, then use Set shown… to give them all the new colour.

Randomize gives every element a random colour, for fun or to find out which element is which. Undo puts back TouchDesigner's defaults with your own colours on top. Reset all returns everything to TouchDesigner's defaults and clears your stored colours, after a second click to confirm.

Sharing a palette

  • Export writes the colours you changed to a JSON file, one entry per element. Only changed colours go in. Keep the file with a project, commit it, or send it to someone.
  • Import reads such a file and applies it. Imported colours take precedence over the ones stored locally: they become your stored colours. Elements this build of TouchDesigner does not know are skipped, and the editor says how many.

The buttons in the editor ask for a file each time. The Import and Export pulses on the component use the file in File (.json), so a project can keep its palette next to it.

In the console

ColorUI is also the first tool to contribute a tab to Console, the toolkit's web front: the same colour editor, served in the browser alongside Settings and Install & remove.

It is switched on by Expose to Console on ColorUI's Registry page. The toolkit's installer turns it on when it installs ColorUI; a ColorUI dragged into a project by hand starts with it off and works on its own. While the console serves the page, opening ColorUI goes to the console's ColorUI tab, and ColorUI's own web render inside TouchDesigner switches off so the same page is not rendered twice.

Get it

Tick it on the install page and it installs with the rest of your setup and stays up to date.

Download FNS_ColorUI.tox Version 3.2.12, the tool on its own. It works in any project, and this copy never updates itself.

Where it appears

Parameters

Its Registry page comes from FNS_ConfigRegistry, FNS_Console and FNS_HubRegistry.

ColorUI

ControlType / defaultWhat it does
Open UIOpenui button Open the colour editor. It is also the OpColor tab of FNS_Hub, and, with Expose on the Registry page, a tab of FNS_Console in the browser.
File (.json)File file pathempty Where Export writes and Import reads. A .json file you can keep in a project, commit, or hand to someone else.
ImportImport button Read colours from the file above and apply them. Imported colours take precedence over the ones saved locally in the component.
ExportExport button Write the current colours to the file above, so they can be shared or version-controlled.
Auto-Load ColorsAutoload on / offon Apply the colours saved in this component when the project opens. Off leaves TouchDesigner's own colours until you open the UI and apply.
Group ByGroupby menuPrefix How the editor's list is organised: Prefix groups elements by the name they start with, Role groups them by what they are used for.
Options: Prefix, Role