color

get colored version of given string


Parameters

color color :color
      string :string

Attributes

boldbold font
underlineshow underlined
keepdon't reset color at string end

Returns

  • :string

Examples

copy
print color #green "Hello!" ; Hello! (in green) print color #red.bold "Some text" ; Some text (in red/bold)

Related