from typing import Dict


def build_item(hex_color: str, frequencies: Dict, html_colors: Dict) -> Dict:
    """
    :param hex_color: '000000'
    :param frequencies: {'000000':0.3, 'FFFFFF':0.2, ... }
    :param html_colors:{'000000':{'name':'Black', 'hex':'000000', 'r':0, 'g':0, 'b':0}, ...}
    :return: {'color':{'name':'Black', 'hex':'000000', 'r':0, 'g':0, 'b':0}, 'frequency':5}
    """
    return {'color': html_colors[hex_color],
            'frequency': frequencies[hex_color]}