toColor

Parses this string as a hex color — color(String)'s underlying implementation. Accepts both a 6-digit RRGGBB string (opaque, alpha forced to FF) and an 8-digit AARRGGBB string as-is; a leading # is stripped if present.

Return

the parsed Color, or Color.Unspecified if this string isn't valid hex.