---
title: "view.customRgb: My Custom RGB — Motion kit command — Kition"
description: "View ▸ Simulate Output ▸ My Custom RGB…: define the custom output device (kept in Settings) and, unless `apply` is false, simulate it."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/view.customRgb"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/view.customRgb](https://developer.kition.ai/docs/kits/motion/commands/view.customRgb)

# view.customRgb

**My Custom RGB.** View ▸ Simulate Output ▸ My Custom RGB…: define the custom output device (kept in Settings) and, unless `apply` is false, simulate it.

- Kit: Motion 0.1.0 (.kmotion); reference: [Motion kit commands](https://developer.kition.ai/docs/kits/motion.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `apply` | `boolean` | no | default true: simulate it |
| `blue` | `number[]` | no | CIE xy |
| `from` | `string` | no | a Simulate Output profile to start from |
| `gamma` | `number` | no |  |
| `green` | `number[]` | no | CIE xy |
| `icc` | `string` | no | RGB ICC profile, matrix/TRC or LUT-based A2B0: read when it changes, "" clears; a LUT profile simulates through its tables, `lutProfile` in the reply; typed-in numbers replace it |
| `name` | `string` | no |  |
| `preserveRgb` | `boolean` | no |  |
| `red` | `number[]` | no | CIE xy |
| `reload` | `boolean` | no |  |
| `reset` | `boolean` | no |  |
| `srgbCurve` | `boolean` | no |  |
| `white` | `number[]` | no | CIE xy |

## Call through motion_run

```text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "view.customRgb" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `apply`, `blue`, `from`, `gamma`, `green`, `icc`, `name`, `preserveRgb`, `red`, `reload`, `reset`, `srgbCurve`, `white`. motion_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `active` | `boolean` | no |  |
| `blue` | `number[]` | no |  |
| `gamma` | `number` | no |  |
| `green` | `number[]` | no |  |
| `icc` | `string` | no |  |
| `lutProfile` | `boolean` | no |  |
| `name` | `string` | no |  |
| `red` | `number[]` | no |  |
| `srgbCurve` | `boolean` | no |  |
| `white` | `number[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "active": {
      "type": "boolean"
    },
    "blue": {
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "gamma": {
      "type": "number"
    },
    "green": {
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "icc": {
      "type": "string"
    },
    "lutProfile": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "red": {
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "srgbCurve": {
      "type": "boolean"
    },
    "white": {
      "items": {
        "type": "number"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "apply": {
      "description": "default true: simulate it",
      "type": "boolean"
    },
    "blue": {
      "description": "CIE xy",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "from": {
      "description": "a Simulate Output profile to start from",
      "type": "string"
    },
    "gamma": {
      "type": "number"
    },
    "green": {
      "description": "CIE xy",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "icc": {
      "description": "RGB ICC profile, matrix/TRC or LUT-based A2B0: read when it changes, \"\" clears; a LUT profile simulates through its tables, `lutProfile` in the reply; typed-in numbers replace it",
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "preserveRgb": {
      "type": "boolean"
    },
    "red": {
      "description": "CIE xy",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "reload": {
      "type": "boolean"
    },
    "reset": {
      "type": "boolean"
    },
    "srgbCurve": {
      "type": "boolean"
    },
    "white": {
      "description": "CIE xy",
      "items": {
        "type": "number"
      },
      "type": "array"
    }
  },
  "returns": "the definition (kept in Settings)",
  "type": "object"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
