setForegroundBackground

Generate a string that sets the foreground and background color (except enum)

  1. string setForegroundBackground(string fg, string bg)
  2. string setForegroundBackground(SimpleColor fg, SimpleColor bg)
    string
    setForegroundBackground

Parameters

fg SimpleColor

the foreground color

bg SimpleColor

the background color

Return Value

Type: string

thecolor control sequence

Meta