R3m/framework Function reference terminal.color
{terminal.color(Int | String $color, Int | String $background)}
Sets the color and background color in the terminal.
Colors:
- 0 black
- 1 red
- 2 green
- 3 yellow
- 4 blue
- 5 purple
- 6 green-blue
- 7 light-grey
- 8 grey
- 9 light-red
- 10 light-green
- 11 light-yellow
- 12 light-blue
- 13 light-purple
- 14 light-green-blue
- 15 white
Background:
- 0 black
- 1 red
- 2 green
- 3 yellow
- 4 blue
- 5 purple
- 6 green-blue
- 7 light-grey
- 8 grey
- 9 light-red
- 10 light-green
- 11 light-yellow
- 12 light-blue
- 13 light-purple
- 14 light-green-blue
- 15 white
sets the terminal color and background as a int | string
.
Last modified: 2021-06-07