# colour_256toRGB

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

```c
int colour_256toRGB(int c)
```

## Parameters

- `c` (`int`)

## Called by

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

## Referenced by

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

## Referenced declarations

- [`COLOUR_FLAG_RGB`](/en/tmux/3.2a/reference/c-define-tmux-h-colour_flag_rgb/) (constant)
