def rgb_to_hex(*args: float) -> str:  # pragma: no cover
    """Convert RGB colors into hexadecimal notation.

    Args:
        *args: percentages (0% - 100%) for the RGB channels

    Returns:
        hexadecimal_representation
    """
    red, green, blue = (
        int(255 * args[0]),
        int(255 * args[1]),
        int(255 * args[2]),
    )
    return f'#{red:02x}{green:02x}{blue:02x}'