Property description
The colors asset defines colors used for applications or workflow states.
Minimal JSON
{
"key": "",
"name": "",
"colorHex": ""
}{
"key": "color_white",
"name": "White",
"colorHex": "#FFFFFF"
}Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey. | string | Yes |
name | Name of the asset, used as the default EN translation. | string | Yes |
colorHex | Color hex code of the asset. We recommend using predefined colors from Settings | string | Yes |
colorHoverHex | Hex code for hover state of the asset. Supported only when used for workflow. | string | No |
description | Description of the property, displayed as a tooltip. | string | No |
state | Current status of the asset. Supported options are: active (asset is active and visible in the environment), inactive (asset is inactive and hidden, serves as a soft delete), hidden (asset is active but hidden in the environment). | string | No |
translations | Array of translation keys and their definitions that determine how the text is displayed in the UI for the specific asset. For more information, see Translations. | array | No |