Function tryParseSRgb8Hex
Tries to parse exact six-digit hexadecimal encoded-sRGB storage.
The accepted form is exactly #RRGGBB. Hexadecimal letters are
case-insensitive. Shorthand forms, whitespace, missing #, extra
characters, and non-hexadecimal digits are rejected.
Parameters
| Name | Description |
|---|---|
| text | Candidate seven-character hexadecimal form. |
| output | Destination storage value. It is unchanged on failure. |
Returns
true when text was parsed; otherwise false.