SetPaletteColor(Int32, Byte, Byte, Byte) Method

Definition

Namespace XenoAtom.Ansi
Assembly XenoAtom.Ansi.dll

Modifies a palette color entry (OSC 4) (ESC ] 4 ; i ; rgb:rr/gg/bb ST).

public AnsiWriter SetPaletteColor(int index, byte r, byte g, byte b)

Parameters

index
Int32

The palette index to modify.

r
Byte

Red component.

g
Byte

Green component.

b
Byte

Blue component.

Returns

AnsiWriter
This writer, for fluent chaining.