Added hextorgba() function.

Signed-off-by: Suparn Gupta <gupta.suparn@gmail.com>