fromHex
Calculates a color from hexadecimal value. For values with transparency use the String variant of this function.
Calculates a color from hexadecimal notation, like in CSS.
Supports the following formats
RGB
RGBA
RRGGBB
RRGGBBAA
where every character is a valid hex digit between 0..f
(case-insensitive). Supports leading "#" or "0x".