hex2rgb (npm): Converts hex color to rgb and calculates appropriate corresponding foreground.
Keywords: hex|rgb|yiq|convert|hex to rgb|contrast|foreground