# colour_parseX11

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

```c
int colour_parseX11(const char *p)
```

## Parameters

- `p` (`const char *`)

## Called by

- [`tty_keys_colours`](/en/tmux/3.7c/reference/c-function-tty_keys_colours/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L1735)
- [`tty_keys_palette`](/en/tmux/3.7c/reference/c-function-tty-keys-c-tty_keys_palette/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/tty-keys.c#L1813)

## Calls

- [`colour_byname`](/en/tmux/3.7c/reference/c-function-colour_byname/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/colour.c#L1042)
- [`colour_join_rgb`](/en/tmux/3.7c/reference/c-function-colour_join_rgb/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/colour.c#L1021)
- [`log_debug`](/en/tmux/3.7c/reference/c-function-log_debug/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/colour.c#L1045)
- [`xstrndup`](/en/tmux/3.7c/reference/c-function-xstrndup/) (function) [Call site](https://github.com/tmux/tmux/blob/e476c1230b958df0cb12977517d24b3dc931375b/colour.c#L1041)

## Other function references

- [`colour_tostring`](/en/tmux/3.7c/reference/c-function-colour_tostring/) (function)

## Referenced by

- [`input_osc_10`](/en/tmux/3.7c/reference/c-function-input-c-input_osc_10/) (function)
- [`input_osc_11`](/en/tmux/3.7c/reference/c-function-input-c-input_osc_11/) (function)
- [`input_osc_12`](/en/tmux/3.7c/reference/c-function-input-c-input_osc_12/) (function)
- [`input_osc_4`](/en/tmux/3.7c/reference/c-function-input-c-input_osc_4/) (function)
