Parses a hex colour string to an RgbaColor. Accepts #rgb, #rgba, #rrggbb, and #rrggbbaa formats. Returns null if the string is not valid hex.
#rgb
#rgba
#rrggbb
#rrggbbaa
null
Parses a hex colour string to an RgbaColor. Accepts
#rgb,#rgba,#rrggbb, and#rrggbbaaformats. Returnsnullif the string is not valid hex.