Standard RGB-Farbformat
Standardmäßig sind drei Kanäle definiert, die alle als Integer mit einem Maximalwert von 255 konfiguriert sind und deren Anzeige-Farben dem RGB-Format entsprechen.
![Standard RGB-Farbformat 1:](Images/png/9007210586506507__Web.png)
Die Werte des ColorChannels
Attributs können per Skript wie folgt geschrieben werden:
[
{
"color": {
"color": "rgba(255, 0, 0, 1)"
},
"float": false,
"maxValue": 255.0
},
{
"color": {
"color": "rgba(0, 255, 0, 1)"
},
"float": false,
"maxValue": 255.0
},
{
"color": {
"color": "rgba(0, 0, 255, 1)"
},
"float": false,
"maxValue": 255.0
}
]
Das BoxColorConversion
Attribut ist auf die mitgelieferte Funktion BoxColorConverter
gesetzt und diese ist mit dem Format „RGB“ konfiguriert.
![Standard RGB-Farbformat 2:](Images/png/9007210874816267__Web.png)