# Section: \[style\]

Using the config file, the style (e.g. colors or underlines) can be customized.

<img src="screenshot-custom.png" alt="Screenshot of customized version" width="600">

## Style Targets

- `description`: The initial description text
- `command_name`: The command name as part of the example code
- `example_text`: The text that describes an example
- `example_code`: The example itself (except the `command_name` and `example_variable`)
- `example_variable`: The variables (placeholders) in the example

## Attributes

- `foreground` (color string, ANSI code, or RGB, see below)
- `background` (color string, ANSI code, or RGB, see below)
- `underline` (`true` or `false`)
- `bold` (`true` or `false`)
- `italic` (`true` or `false`)

Colors can be specified in one of three ways:

- Color string (`black`, `red`, `green`, `yellow`, `blue`, `magenta`, `cyan`, `white`):

  Example:

  ```toml
  foreground = "green"
  ```

- 256 color ANSI code (*tealdeer v1.5.0+*)

  Example:

  ```toml
  foreground = { ansi = 4 }
  ```

- 24-bit RGB color (*tealdeer v1.5.0+*)

  Example:

  ```toml
  background = { rgb = { r = 255, g = 255, b = 255 } }
  ```
