Adding support for hex values with three characters like #f00.