def condense_std_named_colors(css: str) -> str:
    """Condense named color values to shorter replacement using HEX.
    """
    for color_name, color_hexa in iter(tuple({
            ':aqua;': ':#0ff;', ':blue;': ':#00f;', ':fuchsia;': ':#f0f;', ':yellow;': ':#ff0;'}.items())):
        css = css.replace(color_name, color_hexa)
    return css