Method TryParseNamedColor
TryParseNamedColor(ReadOnlySpan<char>, out Color)
Parses name
and returns color
if name is either ANSI 4-bit or W3C standard named color.
public static bool TryParseNamedColor(ReadOnlySpan<char> name, out Color color)
Parameters
name
ReadOnlySpan<char>The name to parse.
color
ColorIf successful, the color.