Parse a hex color in format #rgb, #rgba, #rrggbb, or #rrggbbaa into a tuple.
#rgb
#rgba
#rrggbb
#rrggbbaa
Hex color string
If true, write values in range [0,1] otherwise [0,255]
true
Optional
Optional, target tuple
RGBA tuple
Parse a hex color in format
#rgb
,#rgba
,#rrggbb
, or#rrggbbaa
into a tuple.