# ColorDefinition

Source: https://help.malighting.com/grandMA3/2.4/HTML/keyword_colordefinition.html
This is grandocs, an unofficial mirror of MA Lighting documentation. For authoritative or safety-relevant information, cite the canonical page on help.malighting.com.

---
To enter the ColorDefinition keyword in the command line, use one of the options:

- Type **ColorDefinition**
- Type the shortcut **Colord**

## Description

The ColorDefinition keyword is an object keyword which is used, for example, to adjust the color defintion of the color theme to your liking.

## Syntax

\[Function] ColorDefinition \["ColorDefinitionGroup\_Name" or ColorDefinitionGroup\_Number]\(.\["ColorDefinition\_Name" or ColorDefinition\_Number]) (Property \["Property\_Name"] \["Property\_Value"])

## Examples

- To set the color defintion "Text" in the ColorDefinitionGroup "Global" to red, type:

|                                                                    |                                                                                    |
| ------------------------------------------------------------------ | ---------------------------------------------------------------------------------- |
| ![](/img/grandma3/2-4/icon_commandline-input_logo_v2-0-a59235.png) | User name\[Fixture]>Set ColorDefinition "Global"."Text" Property "RGBA" "FF0000FF" |

 [![](/img/grandma3/2-4/robot-icon_white-1ac0d2.png)       Paste to Command Line](#ma_cmd?Set%20ColorDefinition%20%22Global%22.%22Text%22%20Property%20%22RGBA%22%20%22FF0000FF%22)