---
title: "view.panelBackground: Panel Background Color — Motion kit command — Kition"
description: "Frontend-only: changes the viewer panel's background colour (not the comp background; use comp.settings for that). Headless sessions do nothing."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/view.panelBackground"
---

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

# view.panelBackground

**Panel Background Color.** Frontend-only: changes the viewer panel's background colour (not the comp background; use comp.settings for that). Headless sessions do nothing.

- 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 |
| --- | --- | --- | --- |
| `color` | `string` | no | black\|darkGray\|mediumGray\|lightGray\|white\|custom\|#hex |
| `pick` | `boolean` | no |  |

## Call through motion_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `color`, `pick`. motion_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `frontend` | `string` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "frontend": {
      "type": "string"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "color": {
      "description": "black|darkGray|mediumGray|lightGray|white|custom|#hex",
      "type": "string"
    },
    "pick": {
      "default": true,
      "type": "boolean"
    }
  },
  "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).
