- :string
color
get colored version of given string
Parameters
color color :color
string :string
Attributes
| bold | bold font | |
| underline | show underlined | |
| dim | show dimmed | |
| italic | show in italics | |
| strikethrough | show crossed out | |
| bg | :color | use given background color |
| keep | don't reset color at string end |
Returns
Examples
copyprint color #green "Hello!" ; Hello! (in green) print color #red.bold "Some text" ; Some text (in red/bold)
copyprint color.bg:#blue #white "Some text" ; Some text (in white, on blue)