def hex_to_yiq(_hex):
return rgb_to_yiq(hex_to_rgb(_hex))<EOL>
Convert a HEX color representation to a YIQ color representation.

hex :: hex -> [000000, FFFFFF]

:param _hex: The 3- or 6-char hexadecimal string representing the color value.
:return: YIQ representation of the input HEX value.
:rtype: tuple