AnsiText.fg

Sets the forground/background as an RGB colour.

  1. AnsiText fg(Ansi4BitColour fourBit)
  2. AnsiText fg(ubyte eightBit)
  3. AnsiText fg(ubyte r, ubyte g, ubyte b)
    struct AnsiText
    @safe @nogc nothrow pure ref return
    fg
    (
    ubyte r
    ,
    ubyte g
    ,
    ubyte b
    )
  4. AnsiText fg(AnsiColour colour)
  5. AnsiColour fg()

Meta