GetBasic16Rgb(Int32) Method

Definition

Namespace XenoAtom.Ansi
Assembly XenoAtom.Ansi.dll

Gets an approximate RGB triple for a given basic-16 palette index, using xterm-like defaults.

public static (byte R, byte G, byte B) GetBasic16Rgb(int index)

Parameters

index
Int32

The palette index in range [0, 15].

Returns