# colour_256to16

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/colour.c#L319
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-colour_256to16/

```c
int colour_256to16(int c)
```

## Parameters

- `c` (`int`)

## Called by

- [`tty_check_bg`](/en/tmux/3.2a/reference/c-function-tty-c-tty_check_bg/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L2500)
- [`tty_check_fg`](/en/tmux/3.2a/reference/c-function-tty-c-tty_check_fg/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/tty.c#L2447)

## Referenced by

- [`server_client_push_stderr`](/en/tmux/3.2a/reference/c-function-server_client_push_stderr/) (function)
