def METHOD_NAME(number: int, limit: int = 10) -> list[str]:
    """
    Get a list of alternating color values (beginning with blue and alternating with yellow) as a hexadecimal string
    compatible to HTML.
    :param number: The number of colors in the returned list (with a cap of ``limit``).
    :param limit: The maximum number of returned colors.
    :return: A list of alternating hex color values.
    """
    color_list = get_color_list(8, limit=10)
    alternating_color_list = [color_list[0], color_list[7]] * (limit // 2 + 1)
    return alternating_color_list[: min(number, limit)]