# colour_palette_clear

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/colour.c#L1061
- **Page:** https://libtmux.org/en/tmux/3.7c/reference/c-function-colour_palette_clear/

```c
void colour_palette_clear(struct colour_palette *p)
```

## Parameters

- `p` (`struct colour_palette *`)

## Called by

- [`cmd_send_keys_exec`](/en/tmux/3.7c/reference/c-function-cmd-send-keys-c-cmd_send_keys_exec/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/cmd-send-keys.c#L224)
- [`input_esc_dispatch`](/en/tmux/3.7c/reference/c-function-input-c-input_esc_dispatch/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L1383)
- [`input_osc_104`](/en/tmux/3.7c/reference/c-function-input-c-input_osc_104/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/input.c#L3308)

## Referenced declarations

- [`colour_palette.bg`](/en/tmux/3.7c/reference/c-struct-colour_palette-bg/) (attribute)
- [`colour_palette`](/en/tmux/3.7c/reference/c-struct-colour_palette/) (struct)
- [`colour_palette.fg`](/en/tmux/3.7c/reference/c-struct-colour_palette-fg/) (attribute)
- [`colour_palette.palette`](/en/tmux/3.7c/reference/c-struct-colour_palette-palette/) (attribute)
