Method Parse
- Namespace
- DocWright.Core.Primitives
- Assembly
- DocWright.Core.dll
Parse(string)
Parses an ST_HexColor value: the literal auto (any letter casing) or exactly
six hex digits (upper or lower case) with no leading '#'.
public static ColorRgb Parse(string text)
Parameters
textstringThe text to parse.
Returns
- ColorRgb
The parsed color.
Exceptions
- ArgumentNullException
textis null.- FormatException
The text is not a valid ST_HexColor value.