Table of Contents

Method TryNameColor

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

TryNameColor(Color, out string)

Returns true if color is a recognized color. In which case name will be the name of the color and return value will be true otherwise false.

public bool TryNameColor(Color color, out string name)

Parameters

color Color
name string

Returns

bool