escape

Escapes color into bash sequence according to selected color mode

  1. string escape(Color c, bool b, ColorMode m)
  2. string escape(Color c, bool b)
    string
    escape
    (
    Color c
    ,
    bool b
    )

Parameters

c Color

Color

b bool

Is color background

Return Value

Type: string

Escaped color

Meta