> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/sidef-lang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/sidef-lang/programming_tasks/t/terminal-control/coloured_text.md).

# Coloured text

```ruby
var a = frequire('Term::ANSIColor')
 
say a.colored('RED ON WHITE', 'bold red on_white')
say a.colored('GREEN', 'bold green')
say a.colored('BLUE ON YELLOW', 'bold blue on_yellow')
say a.colored('MAGENTA', 'bold magenta')
say a.colored('CYAN ON RED', 'bold cyan on_red')
say a.colored('YELLOW', 'bold yellow')
```
