Class ColorStrings
Provides a mapping between Color and the W3C standard color name strings.
public static class ColorStrings
- Inheritance
-
ColorStrings
- Inherited Members
Methods
- GetColorName(Color)
Gets the color name for
color.
- GetStandardColorNames()
Returns the list of W3C+ standard color names.
- TryParseNamedColor(ReadOnlySpan<char>, out Color)
Parses
nameand returnscolorif name is a W3C+ standard named color.
- TryParseStandardColorName(ReadOnlySpan<char>, out Color)
Parses
nameand returnscolorif name is a W3C+ standard named color.