Skip to main content

Configuring custom color palette

To add custom color palette create a colors.json file in the root of the data directory which can be found on the same directory as the main executable

The colors.json file should be a valid JSON with the following keys

ArgTypeDescription
versionstringthe name of the project to be trained
colorsArray<colors>the input data format, Learn more

colors

ArgTypeDescription
namestringname of the color set
backgroundstringbackground color in the color set in hexadecimal
groupstringgroup name of the color set
foregroundstringforeground color in the color set in hexadecimal
alphanumberopacity of the color set ranging (0 to 1)

example

{
"version": "1.0",
"colors": [
{
"name": "Fuschia",
"background": "#f012bc",
"group": "Group A",
"foreground": "#000000",
"alpha": 0.2
},
{
"name": "Green",
"background": "#a6e22d",
"group": "Group A",
"foreground": "#000000",
"alpha": 0.2
},
{
"name": "Red",
"background": "#ff4136",
"group": "Group B",
"foreground": "#000000",
"alpha": 0.2
}
]
}