Color.toAnsiString

Returns closest bash ANSI256 color string

struct Color
string
toAnsiString
(
bool isBackground = false
)

Parameters

isBackground bool

Is color a background

Return Value

Type: string

Bash ANSI256 color string

Meta