Table of Contents

Method GetAnsiColorCode

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

GetAnsiColorCode()

Gets the Color using a legacy 16-color ColorName16 value. get will return the closest 16 color match to the true color when no exact value is found.

public AnsiColorCode GetAnsiColorCode()

Returns

AnsiColorCode

Remarks

Get returns the GetClosestNamedColor16(Color) of the closest 24-bit color value. Set sets the RGB value using a hard-coded map.