Method GetAnsiColorCode
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
Remarks
Get returns the Terminal.Gui.Drawing.Color.GetClosestNamedColor16(Terminal.Gui.Drawing.Color) of the closest 24-bit color value. Set sets the RGB value using a hard-coded map.