Table of Contents

Class W3cColorNameResolver

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

W3C color name resolver.

public class W3cColorNameResolver : IColorNameResolver
Inheritance
W3cColorNameResolver
Implements
Inherited Members

Methods

GetColorNames()

Returns the names of all known colors.

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.

TryParseColor(ReadOnlySpan<char>, out Color)

Returns true if name is a recognized color. In which case color will be the color the name corresponds to otherwise returns false.