function::ansi_set_color


Name

function::ansi_set_color — Set the ansi Select Graphic Rendition mode.

Synopsis

ansi_set_color(fg:long)

Arguments

fg
Foreground color to set.

Description

Sends ansi code for Select Graphic Rendition mode for the given forground color. Black (30), Blue (34), Green (32), Cyan (36), Red (31), Purple (35), Brown (33), Light Gray (37).