from typing import Iterable


def rgb_hexify(rgb: Iterable[int]) -> str:
    """Convert a list of RGB numbers to a hex format.
    """
    return ''.join(
        list(map(
            lambda x: hex(abs(x))[2:].zfill(2),
            rgb
        ))[::-1]
    )