HexColor constructor
HexColor(
- String hexString
Constructs a color from a hex color string (e.g. "#FF0000" or "FF0000")
The hash (#) sign is optional. Both uppercase and lowercase letters are supported. Supports 6-digit (RRGGBB) and 8-digit (AARRGGBB) hex codes.
Throws FormatException if the hex color string is invalid.
Implementation
HexColor(String hexString) : super(_getColorFromHex(hexString));