Class ColorStrings | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Provides a mapping between Color and the W3C standard color name strings.
public static class ColorStrings
Inheritance
ColorStrings
Inherited Members
Methods
Gets the ANSI 4-bit (16) color name for color
.
Gets backwards compatible color name for color
.
Gets the W3C standard string for color
.
Returns the list of W3C standard color names.
TryParseColor16(ReadOnlySpan, out Color)
Parses name
and returns color
if name is a ANSI 4-bit standard named color.
TryParseNamedColor(ReadOnlySpan, out Color)
Parses name
and returns color
if name is either ANSI 4-bit or W3C standard named color.
TryParseW3CColorName(ReadOnlySpan, out Color)
Parses name
and returns color
if name is a W3C standard named color.